summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-06-13 12:07:18 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-06-13 12:30:48 -0400
commit12144562d1d1c6240a4960ddc56fc6c407ed88b6 (patch)
treef0272adc1531399ff80a5f0d39224b58e7039248 /ext/POSIX
parentb97384f9474b48e181aaadbf6ac9c6206ba5ce00 (diff)
downloadperl-12144562d1d1c6240a4960ddc56fc6c407ed88b6.tar.gz
Fix @INC so that "make test" in ext/POSIX passes.
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/t/posix.t1
-rw-r--r--ext/POSIX/t/wrappers.t1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/POSIX/t/posix.t b/ext/POSIX/t/posix.t
index ec25d3a148..0bafb8f02c 100644
--- a/ext/POSIX/t/posix.t
+++ b/ext/POSIX/t/posix.t
@@ -6,6 +6,7 @@ BEGIN {
print "1..0\n";
exit 0;
}
+ unshift @INC, "../../t";
require 'loc_tools.pl';
}
diff --git a/ext/POSIX/t/wrappers.t b/ext/POSIX/t/wrappers.t
index 9fefb6a68c..e10a9213ab 100644
--- a/ext/POSIX/t/wrappers.t
+++ b/ext/POSIX/t/wrappers.t
@@ -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';