tests: tail-2/assert: avoid risk of race condition
commitbe8531206b0554bdac6cfb8809c4a2dab56b5a52
authorJim Meyering <meyering@redhat.com>
Tue, 25 Aug 2009 18:43:13 +0000 (25 20:43 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 26 Aug 2009 07:25:21 +0000 (26 09:25 +0200)
tree6ac56f4668f9cbb0941563e254f3d6857b4217ca
parent899c1d00fa19864a97e554f9baa62332807529ee
tests: tail-2/assert: avoid risk of race condition

* tests/tail-2/assert: Avoid spurious failure due to race condition.
Rather than sleeping for 1 second and crossing fingers,
wait explicitly for backgrounded tail process to start.
Otherwise, this test would fail under heavy load.
tests/tail-2/assert