mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-13 10:52:09 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user