coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tests/misc/warning-errors failures


From: Pádraig Brady
Subject: Re: tests/misc/warning-errors failures
Date: Tue, 3 Mar 2026 11:47:04 +0000
User-agent: Mozilla Thunderbird Beta

On 03/03/2026 06:56, Collin Funk wrote:
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.

That is correct but too coupled.
I pushed an adjustment to simple skip the check
if a command does not output to standard error.

cheers,
Padraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]