diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-17 21:42:13 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-17 21:46:22 +0100 |
commit | a8c8484ee17f09ac92a27308b6ee5eaf4304bddc (patch) | |
tree | 7306997d582e94bd09dd393d5bdb30be9f8624e7 /tests/misc/pwd-long | |
parent | 293c37b9061c1afd0acd143bbded637a8f00b3a0 (diff) | |
download | coreutils-a8c8484ee17f09ac92a27308b6ee5eaf4304bddc.tar.xz |
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/'
Diffstat (limited to 'tests/misc/pwd-long')
-rwxr-xr-x | tests/misc/pwd-long | 2 |
1 files changed, 1 insertions, 1 deletions
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_ |