coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-8.31.90-cc4c.tar.xz on Solaris 11 OpenIndiana (2)


From: Pádraig Brady
Subject: Re: coreutils-8.31.90-cc4c.tar.xz on Solaris 11 OpenIndiana (2)
Date: Sun, 1 Mar 2020 22:31:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Thunderbird/73.0

On 01/03/2020 20:59, Bruno Haible wrote:
On Solaris 11 OpenIndiana, I also see a test failure:


FAIL: tests/misc/timeout-parameters
===================================

timeout: invalid time interval 'invalid'
Try 'timeout --help' for more information.
timeout: invalid time interval 'invalid'
Try 'timeout --help' for more information.
timeout: invalid time interval '42D'
Try 'timeout --help' for more information.
timeout: invalid time interval '-1.189731495357231765e+4932'
Try 'timeout --help' for more information.
timeout: 'invalid': invalid signal
Try 'timeout --help' for more information.
timeout: failed to run command '.': Permission denied
timeout: failed to run command 'no_such': No such file or directory
FAIL tests/misc/timeout-parameters.sh (exit status: 1)


In order to understand which of the particular tests fails, I added
'echo FAILnn' statements, and found that

   - sometimes the 5th test, the command
       timeout 9223372036854775808d sleep 0
     fails,

   - sometimes the 7th test, the command
       timeout 1.189731495357231765e+4932 sleep 0
     fails,

   - sometimes both of these tests fail.

That looks like an OpenIndiana 11 bug,
where a timer set with max value returns immediately.
A similar thing was seen with 32 bit Linux/HPPA.

I presume the attached avoids the kernel bug.

cheers,
Pádraig

Attachment: indiana-timer-fire.patch
Description: Text Data


reply via email to

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