diff options
author | Pádraig Brady <P@draigBrady.com> | 2023-03-15 18:11:00 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2023-03-15 18:11:00 +0000 |
commit | 1d03781daa034b77f82c1dac7c0095ce65b1cb63 (patch) | |
tree | 22999727ed96eb4749b2ddf0f5e4953e1395815c | |
parent | a8e6e627f1a1142ec9cb273cfadc3f9aa2aa412a (diff) | |
download | coreutils-1d03781daa034b77f82c1dac7c0095ce65b1cb63.tar.gz |
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
-rwxr-xr-x | tests/cp/sparse-to-pipe.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/sparse-to-pipe.sh b/tests/cp/sparse-to-pipe.sh index 5dfba3f92..a33a7b314 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 |