summaryrefslogtreecommitdiff
path: root/tests/init.cfg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-09-07 14:02:56 +0100
committerPádraig Brady <P@draigBrady.com>2010-09-07 14:02:56 +0100
commitc52d220c300c63a93ffd39dd29e89201e6fd929c (patch)
treebd123fa2798df94a07fbb64f75741ca99c42b324 /tests/init.cfg
parent437671accc0af8fa43a3f9bda6c150cb63fc42cb (diff)
downloadcoreutils-c52d220c300c63a93ffd39dd29e89201e6fd929c.tar.xz
tests: make various timeouts more robust
* tests/init.cfg (retry_delay_): Describe the backoff method used. * tests/ls/readdir-mountpoint-inode: Add a timeout to the stat call to eliminate the chance of hangups. * tests/mv/i-3: Change the timeout required to pass from 1 second to a range of .1s - 3.1s. * tests/rm/dangling-symlink: Likewise.
Diffstat (limited to 'tests/init.cfg')
-rw-r--r--tests/init.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/init.cfg b/tests/init.cfg
index 6c0ffd948..1048cf39d 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -369,7 +369,8 @@ working_umask_or_skip_()
esac
}
-# Continually retry a function requiring a sufficient delay to _pass_
+# Retry a function requiring a sufficient delay to _pass_
+# using a truncated exponential backoff method.
# Example: retry_delay dd_reblock_1 .1 6
# This example will call the dd_reblock_1 function with
# an initial delay of .1 second and call it at most 6 times