summaryrefslogtreecommitdiffstats
path: root/test/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run b/test/run
index 3e84b0c..fd1fcc2 100755
--- a/test/run
+++ b/test/run
@@ -119,7 +119,7 @@ sub exec_test($$) {
my ($raw_prog, $in) = @_;
local (*IN, *IN_DUP, *IN2, *OUT_DUP, *OUT, *OUT2);
my $prog = [ shellwords($raw_prog) ];
- my $needs_shell = ($raw_prog =~ /[][|<>;`\$\*\?]/);
+ my $needs_shell = ($raw_prog =~ /[][|&<>;`\$*?]/);
if ($prog->[0] eq "umask") {
umask oct $prog->[1];