From: Karen Etheridge Date: Sat, 14 Sep 2013 16:49:27 +0000 (-0700) Subject: some testers are still ending up with bad lib lists X-Git-Tag: 1.008017~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5897c2367a3b608e1bfe46309b65b80b971fce7a;p=p5sagit%2Flocal-lib.git some testers are still ending up with bad lib lists e.g. http://www.cpantesters.org/cpan/report/85472df4-1d3c-11e3-a7cb-ca49e0cbff33 even though we screen out empty paths before joining with : ! --- diff --git a/t/bad_variables.t b/t/bad_variables.t index a7ba32b..40d1c00 100644 --- a/t/bad_variables.t +++ b/t/bad_variables.t @@ -10,6 +10,7 @@ use lib 't/lib'; use TempDir; # remember the original value of this, in case we are already running inside a # local::lib my $orig_llr = $ENV{PERL_LOCAL_LIB_ROOT} || ''; +$orig_llr = '' if $orig_llr eq $Config{path_sep}; my $dir1 = mk_temp_dir('test_local_lib-XXXXX'); my $dir2 = mk_temp_dir('test_local_lib-XXXXX');