From 0cc3e1bfb631b321e79b89d4f2862a2b62597c80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 24 Sep 2025 15:52:36 +0100 Subject: [PATCH] tests: wc: fix hardware acceleration disabling test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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 725817a7cc..1118fe14ed 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.47.3