summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-17 17:11:25 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-17 17:11:25 +0000
commit104393a727efd8bd71ca6d7f9b0d20a5b92fde48 (patch)
tree2f390f5c62a5ec5dc99e157b8357ed8a0c0d1312 /t/TEST
parent6434436b0da451686dbed3e341681484be8b68b8 (diff)
downloadperl-104393a727efd8bd71ca6d7f9b0d20a5b92fde48.tar.gz
Get $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
(It doesn't strike me as good that t/TEST and t/harness are inconsistent - the former runs every test with -MTestInit; the latter sets $ENV{PERL5LIB} to '../lib'; and on the gripping hand, we have boilerplate in every test to set @INC. No choice seems ideal.
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/TEST b/t/TEST
index a8ff006569..7ce93663a5 100755
--- a/t/TEST
+++ b/t/TEST
@@ -14,6 +14,7 @@ $| = 1;
# Let tests know they're running in the perl core. Useful for modules
# which live dual lives on CPAN.
$ENV{PERL_CORE} = 1;
+delete $ENV{PERL5LIB};
# remove empty elements due to insertion of empty symbols via "''p1'" syntax
@ARGV = grep($_,@ARGV) if $^O eq 'VMS';