]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid infinite loop in dd failure edge case
authorPádraig Brady <P@draigBrady.com>
Wed, 21 Jan 2026 18:57:53 +0000 (18:57 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 21 Jan 2026 19:00:03 +0000 (19:00 +0000)
commit3e57f08e36d210095989ee1aaa1c5758938ed072
treefd292888f25b330335bec4d33d5f801d95f2b94c
parentf9eebda93ce811bbce7ef9942db2e80aceb89c09
tests: avoid infinite loop in dd failure edge case

* tests/tee/tee.sh: If dd failed, then tee would spin
writing to the fifo forever, so add a timeout protection.
This was noticed with `export LD_PRELOAD=libasan.so.8`
with a non ASAN build, which induced a failure in dd invocations.
tests/tee/tee.sh