summaryrefslogtreecommitdiff
path: root/tests/misc/wc-parallel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/wc-parallel.sh')
-rwxr-xr-xtests/misc/wc-parallel.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/misc/wc-parallel.sh b/tests/misc/wc-parallel.sh
index 98c36b9fa..19497e047 100755
--- a/tests/misc/wc-parallel.sh
+++ b/tests/misc/wc-parallel.sh
@@ -20,9 +20,8 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ wc
-if xargs -P2 </dev/null >/dev/null 2>&1
- skip_ 'xargs -P is required'
-fi
+xargs -P2 </dev/null >/dev/null 2>&1 \
+ || skip_ 'xargs -P is required'
(mkdir tmp && cd tmp && seq 2000 | xargs touch)