This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix @INC so that "make test" in ext/POSIX passes.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 13 Jun 2015 16:07:18 +0000 (12:07 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 13 Jun 2015 16:30:48 +0000 (12:30 -0400)
ext/POSIX/t/posix.t
ext/POSIX/t/wrappers.t

index ec25d3a..0bafb8f 100644 (file)
@@ -6,6 +6,7 @@ BEGIN {
        print "1..0\n";
        exit 0;
     }
+    unshift @INC, "../../t";
     require 'loc_tools.pl';
 }
 
index 9fefb6a..e10a921 100644 (file)
@@ -10,6 +10,7 @@ plan(skip_all => "POSIX is unavailable")
 require POSIX;
 require Symbol;
 require File::Temp;
+unshift @INC, "../../t";
 require 'loc_tools.pl';
 
 use constant NOT_HERE => 'this-file-should-not-exist';