Re: new snapshot available: coreutils-8.20.113-1f1f4
From:
Bernhard Voelker
Subject:
Re: new snapshot available: coreutils-8.20.113-1f1f4
Date:
Sat, 09 Feb 2013 14:16:22 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2
On 02/09/2013 05:52 AM, PƔdraig Brady wrote:
> On 02/08/2013 05:09 PM, Bernhard Voelker wrote:
>> On February 8, 2013 at 5:30 PM "PƔdraig Brady" <address@hidden> wrote:
>>> On 02/08/2013 02:53 PM, Bernhard Voelker wrote:
>>>> On February 7, 2013 at 8:57 PM "PƔdraig Brady" <address@hidden> wrote:
>>>> * SLES-10.3 (i586):
>>>> gcc (GCC) 4.1.2 20070115 (SUSE Linux)
>>>>
>>>> FAIL: tests/tail-2/inotify-rotate.sh
>>>> NFS issue during cleanup_
> I think I see what's happening. With /bin/sh -> bash,
> bash will create a redundant subshell for the : && timeout ... construct.
> I.E. this prints bash rather than timeout:
>
> : && timeout 5 sleep 1 & readlink /proc/$!/exe
>
> So if you had dash installed, this would probably work:
>
> make check SHELL=dash TESTS="tests/tail-2/inotify-rotate.sh" \
> SUBDIRS=. VERBOSE=yes RUN_EXPENSIVE_TESTS=yes
There's no dash installed, unfortunately.
> The reason the subshell causes an issue is that it won't
> auto send the SIGHUP to timeout when it gets a SIGTERM
> as it's a non interactive script, and so the timeout
> processes and thus the tail processes accessing the files
> hang around until the 40s timeout.
>
> In any case the attached should avoid the subshell
> and hopefully fix the issue.
Bingo!
Now, the test passes. ;-)
Thanks!
Have a nice day,
Berny