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:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user