From: Nicholas Clark Date: Sun, 14 Sep 2008 21:27:42 +0000 (+0000) Subject: The program spawned from process.t needs to set up @INC correctly, as X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=18eb2ade7d6963228a999e9fcbef5366fbbe213a;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/ext/Test/Harness/t/sample-tests/delayed b/ext/Test/Harness/t/sample-tests/delayed index eb79d58..f016a69 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);