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-option | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/misc/pwd-option') diff --git a/tests/misc/pwd-option b/tests/misc/pwd-option index e01026674..21c5e4000 100755 --- a/tests/misc/pwd-option +++ b/tests/misc/pwd-option @@ -17,7 +17,7 @@ # along with this program. If not, see . . "${srcdir=.}/init.sh"; path_prepend_ ../src -test "$VERBOSE" = yes && env -- pwd --version +print_ver_ pwd mkdir -p a/b || framework_failure ln -s a/b c || framework_failure -- cgit v1.2.3-54-g00ecf