>From ab305f746eba155188daa37a50da30032f265e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Sun, 1 Mar 2020 22:03:38 +0000 Subject: [PATCH] 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` --- tests/du/8gb.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- 2.24.1