tail: fix abuse2 test race

* tests/tail-2/inotify-hash-abuse2.sh (fastpoll):
Fix race where tailed file ‘f’ temporarily did not exist.
This commit is contained in:
Paul Eggert committed 2021-06-26 18:40:26 -07:00
1 parent 53bb0235d5
commit 177bfdd7ca
1 file changed
+2 -2
+2 -2
View File
@@ -33,8 +33,8 @@ for mode in '' '---disable-inotify'; do
for i in $(seq 200); do
kill -0 $pid || break;
mv f g
touch f
touch g
mv g f
done
# Ensure tail hasn't aborted