]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: add a test for the `tail -f' race condition bug
authorGiuseppe Scrivano <gscrivano@gnu.org>
Tue, 20 Oct 2009 08:49:17 +0000 (10:49 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 22 Oct 2009 08:25:58 +0000 (10:25 +0200)
commit029b6b14c5c4eba3071cac835efd5b277ff2337a
tree1cdb8cfb290473c4226dd181f03e2f7e90ca0203
parentcd0f3036f606276654f2293a4d90df5efd21bd99
tests: add a test for the `tail -f' race condition bug

If new data becomes available between the initial read and when tail
registers the inotify watch descriptors, ensure that it is read
before a new event happens on the file.
* tests/Makefile.am (TESTS): Add tail-2/inotify-race.
* tests/tail-2/inotify-race: New file.
tests/Makefile.am
tests/tail-2/inotify-race [new file with mode: 0755]