On Wed, Feb 10, 2010 at 11:19:27PM +0000, Pádraig Brady wrote:
That test should pass irrespective of inotify availability.
I've spun it for 20 mins now on linux with inotify disabled without issue:

while true; do
  (cd tests && make check TESTS=tail-2/inotify-hash-abuse2 VERBOSE=yes) || break
done

Can you reproduce and perhaps get a backtrace?

FAIL: tail-2/inotify-hash-abuse2 (exit: 1)
==========================================

tail: `f' has become inaccessible: No such file or directory
./tail-2/inotify-hash-abuse2: line 34: kill: (13733) - No such process
./tail-2/inotify-hash-abuse2: line 40: kill: (13733) - No such process


As far as I read the test, there will always be a race where f could be temporarily unavailable between the mv and the touch. I forget what it's supposed to be testing for, but to close that race, I think

touch g
mv g f

would be better, no?
Mike Stone



Reply via email to