aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-09-24 15:52:36 +0100
committerPádraig Brady <P@draigBrady.com>2025-09-24 15:53:34 +0100
commit0cc3e1bfb631b321e79b89d4f2862a2b62597c80 (patch)
treec68bdaa57f296c53e6c85365b5b777c8c6ab9bd8 /tests
parentbuild: copy: add dependency on $(LIB_SMACK) (diff)
downloadcoreutils-0cc3e1bfb631b321e79b89d4f2862a2b62597c80.tar.gz
coreutils-0cc3e1bfb631b321e79b89d4f2862a2b62597c80.zip
tests: wc: fix hardware acceleration disabling test
* tests/wc/wc-cpu.sh: The message is only printed with wc -l. Reported by Mathieu Borderé.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/wc/wc-cpu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wc/wc-cpu.sh b/tests/wc/wc-cpu.sh
index 725817a7c..1118fe14e 100755
--- a/tests/wc/wc-cpu.sh
+++ b/tests/wc/wc-cpu.sh
@@ -20,7 +20,7 @@
print_ver_ wc
GLIBC_TUNABLES='glibc.cpu.hwcaps=-AVX2' \
- wc --debug /dev/null 2>debug || fail=1
+ wc -l --debug /dev/null 2>debug || fail=1
grep 'using.*hardware support' debug && fail=1
lines=$(shuf -i 0-1000 | head -n1) || framework_failure_