1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-11 01:42:17 +02:00

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`
This commit is contained in:
Pádraig Brady
2020-03-01 22:03:38 +00:00
parent 04e2b9b1a6
commit ab305f746e

View File

@@ -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'