diff options
Diffstat (limited to 'tests/Coreutils.pm')
-rw-r--r-- | tests/Coreutils.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Coreutils.pm b/tests/Coreutils.pm index 2406dd107..3245eda6e 100644 --- a/tests/Coreutils.pm +++ b/tests/Coreutils.pm @@ -217,7 +217,7 @@ sub run_tests ($$$$$) # To indicate that $prog is a shell built-in, you'd make it a string 'ref'. # E.g., call run_tests ($prog, \$prog, \@Tests, $save_temps, $verbose); # If it's a ref, invoke it via "env": - my @prog = ref $prog ? ('env', $$prog) : $prog; + my @prog = ref $prog ? (qw(env --), $$prog) : $prog; # Warn about empty t_spec. # FIXME |