diff options
Diffstat (limited to 'cpan/Test-Harness/t/taint.t')
-rw-r--r-- | cpan/Test-Harness/t/taint.t | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cpan/Test-Harness/t/taint.t b/cpan/Test-Harness/t/taint.t index 80acec8fb1..26e46320e2 100644 --- a/cpan/Test-Harness/t/taint.t +++ b/cpan/Test-Harness/t/taint.t @@ -1,13 +1,7 @@ #!/usr/bin/perl -w BEGIN { - if ( $ENV{PERL_CORE} ) { - chdir 't'; - @INC = ( '../lib', 'lib' ); - } - else { unshift @INC, 't/lib'; - } } # Test that options in PERL5OPT are propogated to tainted tests @@ -43,7 +37,7 @@ sub run_test_file { } { - local $ENV{PERL5OPT} = $ENV{PERL_CORE} ? '-I../lib -Mstrict' : '-Mstrict'; + local $ENV{PERL5OPT} = '-Mstrict'; run_test_file(<<'END'); #!/usr/bin/perl -T |