Handle printing to closed pipes better in tests.
Some systems do not deliver SIGPIPE to shell pipeline writers when the downstream reader has exited. So, also check for errors from /bin/printf. I fixed this for OpenBSD 6.0 but I think it will also fix posh on Linux.
parent
795549aa
Please register or sign in to comment