summaryrefslogtreecommitdiff
path: root/tests/misc/printf
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-17 21:42:13 +0100
committerJim Meyering <meyering@redhat.com>2010-11-17 21:46:22 +0100
commita8c8484ee17f09ac92a27308b6ee5eaf4304bddc (patch)
tree7306997d582e94bd09dd393d5bdb30be9f8624e7 /tests/misc/printf
parent293c37b9061c1afd0acd143bbded637a8f00b3a0 (diff)
downloadcoreutils-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/printf')
-rwxr-xr-xtests/misc/printf2
1 files changed, 1 insertions, 1 deletions
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_