1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-17 04:41:59 +02:00

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
2025-09-24 15:52:36 +01:00
parent de3ea76dbc
commit 0cc3e1bfb6

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_