]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: fix rare false failure in tail-2/F-vs-rename
authorPádraig Brady <P@draigBrady.com>
Fri, 17 Sep 2021 00:22:54 +0000 (01:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 17 Sep 2021 00:28:14 +0000 (01:28 +0100)
commit8922ee206c657797315db16fba564c25253cac85
tree8fbc8c1d1f5c4f554b33de9009183d8585de0efd
parent5134612fa78012d8a8efeca181d1a9355d1fc67f
tests: fix rare false failure in tail-2/F-vs-rename

This is wrong fix really, as only introducing delay I think.

* tests/tail-2/F-vs-rename.sh: Avoid a rare false failure
due to a race in the test.  Now wait until tail has noticed
that b is replaced before writing to a, so that the subsequent
write of "y" to b will be displayed independently from
current contents of b ("x").
tests/tail-2/F-vs-rename.sh