Hi Bruno,
Bruno Haible via GNU coreutils General Discussion <coreutils@gnu.org>
writes:
The CI reports failures of the test tests/misc/warning-errors in two
circumstances:
* On CentOS 7:
FAIL: tests/misc/warning-errors
===============================
[...]
+ returns_ 1 /bin/sh -c 'env cksum --debug /dev/null'
4294967295 0 /dev/null
+ fail=1
It looks like the CI machine doesn't have any optimized CRC32
implementations to use. Therefore, 'cksum --debug' won't write to
standard error and will return 0.
On a powerpc64 machine, I got the same error along with a similar one
for 'wc -l', which is only optimized on some x86 and arm machines.
I pushed the attached patch to adjust the expected exit status based on
values from config.h.