mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: make du/move-dir-while-traversing more robust
* tests/du/move-dir-while-traversing.sh: Catch failure of retry_delay_ when waiting for the watcher to get ready.
This commit is contained in:
1 parent
097897bd2c
commit
02e281e1b2
1 file changed
+1
-1
@@ -78,7 +78,7 @@ timeout 6 ./inotify-watch-for-dir-access.py $t/3/a/b > start-msg &
|
||||
|
||||
# Wait for the watcher to start...
|
||||
nonempty() { test -s start-msg || { sleep $1; return 1; }; }
|
||||
retry_delay_ nonempty .1 5
|
||||
retry_delay_ nonempty .1 5 || fail=1
|
||||
|
||||
# The above watches for an IN_OPEN event on $t/3/a/b,
|
||||
# and when it triggers, moves the parent, $t/3/a, up one level
|
||||
|
||||
Reference in new issue
Block a user