The program spawned from process.t needs to set up @INC correctly, as
authorNicholas Clark <nick@ccl4.org>
Sun, 14 Sep 2008 21:27:42 +0000 (21:27 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 14 Sep 2008 21:27:42 +0000 (21:27 +0000)
process.t does not add an -I../lib for core.

p4raw-id: //depot/perl@34361

ext/Test/Harness/t/sample-tests/delayed

index eb79d58..f016a69 100644 (file)
@@ -1,4 +1,9 @@
 # Used to test Process.pm
+BEGIN {
+    if ( $ENV{PERL_CORE} ) {
+        @INC = '../lib';
+    }
+}
 
 use Time::HiRes qw(sleep);