X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F31dumper.t;h=927c82d200d57d5c6313142a20035948fcf4860c;hb=7e212236d2058cd89f78321f416fb9a27e4257ec;hp=96401ca7f6d280f7ff230d4ef3532d0ebebeaf16;hpb=cb9bbc68fe26aa563d28d590221f6a0235b4062e;p=dbsrgits%2FSQL-Translator.git diff --git a/t/31dumper.t b/t/31dumper.t index 96401ca..927c82d 100644 --- a/t/31dumper.t +++ b/t/31dumper.t @@ -52,7 +52,7 @@ print $fh $output; close $fh or die "Can't close file '$filename': $!"; my $out; -my $pid = open3( undef, $out, undef, $^X, shellwords($ENV{HARNESS_PERL_SWITCHES}), '-cw', $filename ); +my $pid = open3( undef, $out, undef, $^X, shellwords($ENV{HARNESS_PERL_SWITCHES}||''), '-cw', $filename ); my $res = do { local $/; <$out> }; waitpid($pid, 0);