summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-09-14 21:27:42 +0000
committerNicholas Clark <nick@ccl4.org>2008-09-14 21:27:42 +0000
commit18eb2ade7d6963228a999e9fcbef5366fbbe213a (patch)
tree71fdcb93318eb3150e389d501f54215272c0678c /ext
parent27fc0087fcbd5bf6e1c752f006de35a91d34d354 (diff)
downloadperl-18eb2ade7d6963228a999e9fcbef5366fbbe213a.tar.gz
The program spawned from process.t needs to set up @INC correctly, as
process.t does not add an -I../lib for core. p4raw-id: //depot/perl@34361
Diffstat (limited to 'ext')
-rw-r--r--ext/Test/Harness/t/sample-tests/delayed5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/Test/Harness/t/sample-tests/delayed b/ext/Test/Harness/t/sample-tests/delayed
index eb79d58cf7..f016a69348 100644
--- a/ext/Test/Harness/t/sample-tests/delayed
+++ b/ext/Test/Harness/t/sample-tests/delayed
@@ -1,4 +1,9 @@
# Used to test Process.pm
+BEGIN {
+ if ( $ENV{PERL_CORE} ) {
+ @INC = '../lib';
+ }
+}
use Time::HiRes qw(sleep);