tests: tail-2/pipe-f2: avoid false-positive failure
authorJim Meyering <meyering@redhat.com>
Sat, 23 Apr 2011 21:54:11 +0000 (23:54 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 25 Apr 2011 08:58:09 +0000 (10:58 +0200)
Otherwise, this would fail (albeit rarely) on a "make -j24 check" run.
* tests/tail-2/pipe-f2: Increase timeout from 1 second to 10,
to avoid false positive failure.

tests/tail-2/pipe-f2

index c258fee..3422c23 100755 (executable)
@@ -24,7 +24,7 @@ mkfifo_or_skip_ fifo
 echo 1 > fifo &
 echo 1 > exp || framework_failure
 
-timeout 1 tail -f fifo > out
+timeout 10 tail -f fifo > out
 test $? = 124 || fail=1
 
 compare out exp || fail=1