aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Coreutils.pm
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-12 08:49:58 +0200
committerJim Meyering <meyering@redhat.com>2008-05-16 10:10:34 +0200
commit4a4fe636dcef1c71c6aef423be0c6788f9d46c40 (patch)
tree4cb09a287385b813eab8b6768b08ff5d888290bb /tests/Coreutils.pm
parenttests: improve coverage of printf.c (diff)
downloadcoreutils-4a4fe636dcef1c71c6aef423be0c6788f9d46c40.tar.gz
coreutils-4a4fe636dcef1c71c6aef423be0c6788f9d46c40.zip
tests: env-related clean up
* tests/Coreutils.pm: tiny clean-up: s/env/env --/ * tests/misc/help-version: Use "env" rather than an absolute file name prefix. * tests/misc/printf-surprise: Likewise.
Diffstat (limited to 'tests/Coreutils.pm')
-rw-r--r--tests/Coreutils.pm2
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