tests: don't make tail's pipe-f2 test take the full 10 seconds
commitf013fe07ab430e3fb0a501fe27c57a37c7734206
authorJim Meyering <meyering@redhat.com>
Fri, 28 Oct 2011 16:06:44 +0000 (28 18:06 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 29 Oct 2011 06:32:11 +0000 (29 08:32 +0200)
tree27a4e442c073a1bfe00d68716b48e859925f5923
parent2f1384b7e4674f2bdf4c471eee050bece59e01e6
tests: don't make tail's pipe-f2 test take the full 10 seconds

* tests/tail-2/pipe-f2: Don't always wait 10 seconds.
Before, this test would always wait 10 seconds.
Now, it stops early when it detects that tail -f has written output.
BTW, the race condition that prompted changing the timeout from 1 second
to 10 was that tail -f could be killed by the timeout before producing
any output.
tests/tail-2/pipe-f2