summaryrefslogtreecommitdiff
path: root/tests/misc/printf
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-14 12:02:39 +0100
committerJim Meyering <meyering@redhat.com>2010-11-17 20:48:57 +0100
commitff7f0ff85c40174f1885ec61fa4ab6b73d02b555 (patch)
treef3b51b82bcee4d908f31adab1c09552e77e54fe2 /tests/misc/printf
parentf38becab02472e6872048a1951b249b2a3c054df (diff)
downloadcoreutils-ff7f0ff85c40174f1885ec61fa4ab6b73d02b555.tar.xz
tests: convert 'if test "$VERBOSE" = yes; then' to test ... &&
Diffstat (limited to 'tests/misc/printf')
-rwxr-xr-xtests/misc/printf7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/misc/printf b/tests/misc/printf
index e8e4f2e5d..cf376f3ba 100755
--- a/tests/misc/printf
+++ b/tests/misc/printf
@@ -18,12 +18,9 @@
prog="$abs_top_builddir/src/printf"
-if test "$VERBOSE" = yes; then
- set -x
- "$prog" --version
-fi
-
. $srcdir/test-lib.sh
+test "$VERBOSE" = yes && env -- printf --version
+
getlimits_