Need to -I../lib explicitly, as TAP::Parser no longer parses $ENV{PERL5LIB}.
authorNicholas Clark <nick@ccl4.org>
Sun, 8 Mar 2009 15:06:35 +0000 (15:06 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 15 Apr 2009 20:34:18 +0000 (21:34 +0100)
(cherry picked from commit a5e72d97a7641e18e17299bc095006f04eb2791a)

ext/Test-Harness/t/taint.t

index 151ac6f..80acec8 100644 (file)
@@ -43,7 +43,7 @@ sub run_test_file {
 }
 
 {
-    local $ENV{PERL5OPT} = '-Mstrict';
+    local $ENV{PERL5OPT} = $ENV{PERL_CORE} ? '-I../lib -Mstrict' : '-Mstrict';
     run_test_file(<<'END');
 #!/usr/bin/perl -T