diff options
author | David Golden <dagolden@cpan.org> | 2012-05-04 11:02:26 -0400 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2012-05-04 11:02:26 -0400 |
commit | b6646683566e99be17e2b4644b44663f440270ee (patch) | |
tree | ae99c089b34b4ee6fe68125bbaafb8a333680590 /t/TEST | |
parent | 5a0c7e9d45ff6da450098635b233527990112d8a (diff) | |
download | perl-b6646683566e99be17e2b4644b44663f440270ee.tar.gz |
delete PERL_YAML_BACKEND and PERL_JSON_BACKEND in T/TEST
If these are set, Parse-CPAN-Meta and other things that depend
on it may fail.
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -81,7 +81,12 @@ my %temp_no_core = # delete env vars that may influence the results # but allow override via *_TEST env var if wanted # (e.g. PERL5OPT_TEST=-d:NYTProf) -for my $envname (qw(PERL5LIB PERLLIB PERL5OPT)) { +my @bad_env_vars = qw( + PERL5LIB PERLLIB PERL5OPT + PERL_YAML_BACKEND PERL_JSON_BACKEND +); + +for my $envname (@bad_env_vars) { my $override = $ENV{"${envname}_TEST"}; if (defined $override) { warn "$0: $envname=$override\n"; |