coreutils
[Top][All Lists]
Advanced

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

Re: tests: tail: avoid a test failure on GNU/Hurd


From: Pádraig Brady
Subject: Re: tests: tail: avoid a test failure on GNU/Hurd
Date: Sat, 8 Nov 2025 10:17:19 +0000
User-agent: Mozilla Thunderbird Beta

On 08/11/2025 06:41, Collin Funk wrote:
On GNU/Hurd tests/tail/tail-c fails because the following command times
out:

     timeout --verbose 1 tail -c 4096 /dev/urandom >/dev/null 2>err

Ah right. TBH Hurd is perfectly entitled to behave like that.
I.e. tail resorts to reading all data as non seekable.
The patch looks fine. Please push.

Note also the 1 second timeout is too aggressive.
For any test that we consider to have failed after a timeout
the timeout should be 10 seconds to cater for slow/loaded systems
and avoid intermittent false failures.
I've just pushed a patch to fix that.

thanks!
Padraig



reply via email to

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