X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/01b0de7ee82aad3b315a95f7900071480f431774..96ccae07958e7b6fe402e90d9540b49a274d5419:/t/regress.t diff --git a/t/regress.t b/t/regress.t index c910748..a10827b 100755 --- a/t/regress.t +++ b/t/regress.t @@ -43,7 +43,7 @@ for my $candidate (@params) { my $shell = $script; if ($script =~ /\|/) { # explicit shell wrapper to capture all warnings - $script =~ s/'/'\\''/g; + $shell =~ s/'/'\\''/g; $shell = "sh -c '$shell'"; } $shell .= ' 2>' . ($wantwarn ? '&1' : '/dev/null');