tests: wc: fix hardware acceleration disabling test

* tests/wc/wc-cpu.sh: The message is only printed with wc -l.
Reported by Mathieu Borderé.
This commit is contained in:
Pádraig Brady committed 2025-09-24 15:53:34 +01:00
1 parent de3ea76dbc
commit 0cc3e1bfb6
1 file changed
+1 -1
+1 -1
View File
@@ -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_