From 1d03781daa034b77f82c1dac7c0095ce65b1cb63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 15 Mar 2023 18:11:00 +0000 Subject: [PATCH] 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 --- tests/cp/sparse-to-pipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2