Release commit for 1.62
[dbsrgits/SQL-Translator.git] / t / 70sqlt-diff_script.t
index 13ee198..14962aa 100644 (file)
@@ -70,7 +70,7 @@ like($out, qr/No differences found/, "Properly detected no differences");
 
 sub _run_cmd {
   my $out;
-  my $pid = open3( undef, $out, undef, $^X, shellwords($ENV{HARNESS_PERL_SWITCHES}), @_ );
+  my $pid = open3( undef, $out, undef, $^X, shellwords($ENV{HARNESS_PERL_SWITCHES}||''), @_ );
   my $res = do { local $/; <$out> };
   waitpid($pid, 0);
   $res;