mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03: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:
1 parent
53bb0235d5
commit
177bfdd7ca
1 file changed
+2
-2
@@ -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