From: Pádraig Brady
Date: Sun, 1 Mar 2020 22:03:38 +0000 (+0000) Subject: tests: avoid a hang on GNU/Hurd from 2019 X-Git-Tag: v8.32~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab305f746eba155188daa37a50da30032f265e51;p=thirdparty%2Fcoreutils.git 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` --- diff --git a/tests/du/8gb.sh b/tests/du/8gb.sh index 17f111cb08..4d02ebf9e5 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'