This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Let t/mro/basic.t be run from the top level
authorFather Chrysostomos <sprout@cpan.org>
Sun, 18 Aug 2013 07:04:03 +0000 (00:04 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 18 Aug 2013 07:04:03 +0000 (00:04 -0700)
t/mro/basic.t

index be49f9a..6509073 100644 (file)
@@ -3,7 +3,12 @@
 use strict;
 use warnings;
 
-BEGIN { require q(./test.pl); } plan(tests => 60);
+BEGIN {
+    chdir 't';
+    @INC = '../lib';
+    require q(./test.pl);
+}
+plan(tests => 60);
 
 require mro;