* tests/wc/wc-cpu.sh: The message is only printed with wc -l.
Reported by Mathieu Borderé.
---
 tests/wc/wc-cpu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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_
-- 
2.51.0


Reply via email to