summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-30 07:43:36 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-30 07:43:36 +0100
commit154db99c227152f27c43ccfa836a129268cdda40 (patch)
tree8ee44e7f7164179045de6b38c8420c7b9641c6ad
parent1ff5bc37303d3f603211be08e5e01dac62fcfa6c (diff)
downloadperl-154db99c227152f27c43ccfa836a129268cdda40.tar.gz
As well as PERL5LIB, remove PERLLIB and PERL5OPT from the environment.
Remove the (now) redundant delete $ENV{PERL5LIB} from harness - requiring TEST gets us that delete for free.
-rwxr-xr-xt/TEST2
-rw-r--r--t/harness2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/TEST b/t/TEST
index 7f2190c9f3..94332eaa56 100755
--- a/t/TEST
+++ b/t/TEST
@@ -61,6 +61,8 @@ $| = 1;
#BEGIN { require '../lib/warnings.pm'; "warnings"->import() };
delete $ENV{PERL5LIB};
+delete $ENV{PERLLIB};
+delete $ENV{PERL5OPT};
# remove empty elements due to insertion of empty symbols via "''p1'" syntax
@ARGV = grep($_,@ARGV) if $^O eq 'VMS';
diff --git a/t/harness b/t/harness
index 660e5849bb..17a6ffba55 100644
--- a/t/harness
+++ b/t/harness
@@ -8,8 +8,6 @@ BEGIN {
@INC = '../lib'; # pick up only this build's lib
}
-delete $ENV{PERL5LIB};
-
my $torture; # torture testing?
use TAP::Harness 3.13;