diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-17 17:11:25 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-17 17:11:25 +0000 |
commit | 104393a727efd8bd71ca6d7f9b0d20a5b92fde48 (patch) | |
tree | 2f390f5c62a5ec5dc99e157b8357ed8a0c0d1312 /t/TEST | |
parent | 6434436b0da451686dbed3e341681484be8b68b8 (diff) | |
download | perl-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-x | t/TEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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'; |