From: Pádraig Brady Date: Wed, 15 Mar 2023 18:11:00 +0000 (+0000) Subject: test: avoid a test hang on Hurd X-Git-Tag: v9.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d03781daa034b77f82c1dac7c0095ce65b1cb63;p=thirdparty%2Fcoreutils.git test: avoid a test hang on Hurd * tests/cp/sparse-to-pipe.sh: Protect the cp call seen to hang on Hurd/i686 with a timeout. Reported By: Bruno Haible --- diff --git a/tests/cp/sparse-to-pipe.sh b/tests/cp/sparse-to-pipe.sh index 5dfba3f923..a33a7b3148 100755 --- a/tests/cp/sparse-to-pipe.sh +++ b/tests/cp/sparse-to-pipe.sh @@ -28,7 +28,7 @@ mkfifo_or_skip_ pipe timeout 10 cat pipe > copy & pid=$! truncate -s1M sparse || framework_failure_ -cp sparse pipe || fail=1 +timeout 10 cp sparse pipe || fail=1 # Ensure that the cat has completed before comparing. wait $pid