From: Pádraig Brady
Date: Wed, 24 Sep 2025 14:52:36 +0000 (+0100) Subject: tests: wc: fix hardware acceleration disabling test X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cc3e1bfb631b321e79b89d4f2862a2b62597c80;p=thirdparty%2Fcoreutils.git tests: wc: fix hardware acceleration disabling test * tests/wc/wc-cpu.sh: The message is only printed with wc -l. Reported by Mathieu Borderé. --- 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_