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/pwd-long | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/misc/pwd-long') diff --git a/tests/misc/pwd-long b/tests/misc/pwd-long index b3d14c6ca..e8b088cd2 100755 --- a/tests/misc/pwd-long +++ b/tests/misc/pwd-long @@ -21,7 +21,7 @@ . $srcdir/require-perl . "${srcdir=.}/init.sh"; path_prepend_ ../src -test "$VERBOSE" = yes && env -- pwd --version +print_ver_ pwd require_readable_root_ -- cgit v1.2.3-70-g09d2