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" <p...@draigbrady.com> wrote: >>> On 02/08/2013 02:53 PM, Bernhard Voelker wrote: >>>> On February 7, 2013 at 8:57 PM "Pádraig Brady" <p...@draigbrady.com> 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