diff options
| author | Pádraig Brady <P@draigBrady.com> | 2025-09-24 15:52:36 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-09-24 15:53:34 +0100 |
| commit | 0cc3e1bfb631b321e79b89d4f2862a2b62597c80 (patch) | |
| tree | c68bdaa57f296c53e6c85365b5b777c8c6ab9bd8 /tests | |
| parent | build: copy: add dependency on $(LIB_SMACK) (diff) | |
| download | coreutils-0cc3e1bfb631b321e79b89d4f2862a2b62597c80.tar.gz coreutils-0cc3e1bfb631b321e79b89d4f2862a2b62597c80.zip | |
tests: wc: fix hardware acceleration disabling test
* tests/wc/wc-cpu.sh: The message is only printed with wc -l.
Reported by Mathieu Borderé.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/wc/wc-cpu.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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_ |
