mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-08-05 20:15:51 +03:00
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user