tests: ensure utils support writing to a closed pipe
commit440b40eecea2e48335247e4670b770ee28eba5e0
authorPádraig Brady <P@draigBrady.com>
Sat, 3 Aug 2024 12:37:33 +0000 (3 13:37 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 4 Aug 2024 09:58:31 +0000 (4 10:58 +0100)
tree6900560d3c4621d0a910a7300595c63264c3d100
parentbead5b05d0bcd181f522ed4fec703b0647815f56
tests: ensure utils support writing to a closed pipe

* tests/misc/write-errors.sh: A closed pipe is a common scenario,
and should not induce an error.  The general case is discussed at:
https://www.pixelbeat.org/programming/sigpipe_handling.html
tests/misc/write-errors.sh