diff options
author | Pádraig Brady <P@draigBrady.com> | 2020-03-01 22:03:38 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2020-03-01 22:04:20 +0000 |
commit | ab305f746eba155188daa37a50da30032f265e51 (patch) | |
tree | 6e068eb6de2e9099823422e028311dd7fbf2a0ac /tests/du | |
parent | 04e2b9b1a637ea138331a1b6a6b11849368d3467 (diff) | |
download | coreutils-ab305f746eba155188daa37a50da30032f265e51.tar.gz |
tests: avoid a hang on GNU/Hurd from 2019
* tests/du/8gb.sh: Add a timeout around:
`dd bs=1 seek=8G of=big < /dev/null`
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/8gb.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/du/8gb.sh b/tests/du/8gb.sh index 17f111cb0..4d02ebf9e 100755 --- a/tests/du/8gb.sh +++ b/tests/du/8gb.sh @@ -21,7 +21,8 @@ print_ver_ du require_sparse_support_ -dd bs=1 seek=8G of=big < /dev/null 2> /dev/null +# timeout to avoid hang on GNU/Hurd from 2019 +timeout 10 dd bs=1 seek=8G of=big < /dev/null 2> /dev/null if test $? != 0; then skip_ 'cannot create a file large enough for this test; possibly because file offsets are only 32 bits on this file system' |