]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: adjust delays to avoid false positives
authorPádraig Brady <P@draigBrady.com>
Mon, 18 Jan 2016 12:41:36 +0000 (12:41 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 18 Jan 2016 15:32:17 +0000 (15:32 +0000)
commit3f02d93be21920299ba19e2dc93b3bcef6c9df81
tree20e6413508e0243815f3ac516d1f88cb05e672aa
parentcc05c3c16d9eea8bb3918e6bd9892785291e7526
tests: adjust delays to avoid false positives

* tests/rm/dangling-symlink.sh: The effective delay was only
1.5s.  So delay before the operation, and increase the iteration
count by 1 to increase the delay to 6.3s.  This failure was
noticed once on a FreeBSD 10.2 x86_64 virtual machine.
* tests/dd/stats.sh: Remove quotes on sleep argument
to ensure arguments are accumulated appropriately.
* tests/du/move-dir-while-traversing.sh: sleep before operation,
to increase the effective delay from 1.6s to 3.2s.
* tests/tail-2/flush-initial.sh: Likewise.
* tests/tail-2/pipe-f2.sh: Sleep first so that the effective delay
matches the commented value.
tests/dd/stats.sh
tests/du/move-dir-while-traversing.sh
tests/rm/dangling-symlink.sh
tests/tail-2/flush-initial.sh
tests/tail-2/pipe-f2.sh