tests: fix a tail-2/pid failure on GNU/kFreeBSD
authorPetr Salinger <Petr.Salinger@seznam.cz>
Fri, 4 Sep 2009 16:58:34 +0000 (17:58 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 4 Sep 2009 17:14:55 +0000 (18:14 +0100)
* tests/tail-2/wait: Increase the file name recheck frequency to
fix a failure on systems without inotify and a file timestamp precision
of 1 second (like GNU/kFreeBSD).

tests/tail-2/wait

index abe22d7..a5f189f 100755 (executable)
@@ -56,7 +56,7 @@ test $? = 124 || fail=1
 
 test -s tail.err && fail=1
 
-tail -s.1 -F k > tail.out &
+tail -s.1 --max-unchanged-stats=2 -F k > tail.out &
 pid=$!
 sleep .5
 mv k l