From a8c8484ee17f09ac92a27308b6ee5eaf4304bddc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 17 Nov 2010 21:42:13 +0100 Subject: tests: convert "... env -- prog --version" uses E.g., -test "$VERBOSE" = yes && env -- pwd --version +print_ver_ pwd git grep -l 'VERBOSE.*--version'|xargs perl -pi -e \ 's/test "\$VERBOSE" = yes && env -- (\w+) --version/print_ver_ $1/' --- tests/misc/printf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/misc/printf') diff --git a/tests/misc/printf b/tests/misc/printf index b0fe19cdb..b02352ba1 100755 --- a/tests/misc/printf +++ b/tests/misc/printf @@ -19,7 +19,7 @@ prog="$abs_top_builddir/src/printf" . "${srcdir=.}/init.sh"; path_prepend_ ../src -test "$VERBOSE" = yes && env -- printf --version +print_ver_ printf getlimits_ -- cgit v1.2.3-70-g09d2