mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03: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:
1 parent
de3ea76dbc
commit
0cc3e1bfb6
1 file changed
+1
-1
+1
-1
@@ -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