diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2014-10-29 23:21:13 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2014-10-29 23:22:57 +0100 |
commit | 02e281e1b27b0e4e28918b4bc5e026e9aca51647 (patch) | |
tree | 57b92db2e0e106e8fe593aa4719c3b1ac7a71a53 /tests/du | |
parent | 097897bd2c9de5723af24b3848d6d922a862064b (diff) | |
download | coreutils-02e281e1b27b0e4e28918b4bc5e026e9aca51647.tar.xz |
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.
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/move-dir-while-traversing.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/move-dir-while-traversing.sh b/tests/du/move-dir-while-traversing.sh index 046dad901..c52409ef0 100755 --- a/tests/du/move-dir-while-traversing.sh +++ b/tests/du/move-dir-while-traversing.sh @@ -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 |