]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: du: avoid false failure in racy test
authorPádraig Brady <P@draigBrady.com>
Sun, 21 Sep 2025 19:14:10 +0000 (20:14 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 21 Sep 2025 23:09:03 +0000 (00:09 +0100)
commitf9c6c730eb31299491022c1c3c3f97f873350bf1
tree68d5c532d9ea30f8631a9fdf423b006f9ddaff5e
parent52a15e470d5373011e9156061cb0eb712c75adf6
tests: du: avoid false failure in racy test

* tests/du/move-dir-while-traversing.sh: Expand the work to avoid
a false failure where du completes before the directory is moved.
Also expand the timeout to our more standard 10s to avoid the
"directory mover" being killed before du processes the directory.
This doesn't perceptibly impact the run time of the test.
Reported by Bruno Haible on a CentOS 7 system.
tests/du/move-dir-while-traversing.sh