test_curses.sh: suppress cat write error, it is not important for this test - sfeed_tests - sfeed tests and RSS and Atom files
HTML git clone git://git.codemadness.org/sfeed_tests
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 836843fc99ddc614248418c14a00804326544227
DIR parent 18bc28f08acf122bcdc6a1ec5e470786ce234993
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 11 Apr 2026 20:06:58 +0200
test_curses.sh: suppress cat write error, it is not important for this test
This would write an error, but it is fine for testing. Suppress it to avoid
confusion for a future me.
Diffstat:
M test_curses.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/test_curses.sh b/test_curses.sh
@@ -1142,7 +1142,8 @@ test_end
test_start "Check if sfeed_curses is killed by SIGTERM while an interactive child program is running"
rm -f /tmp/sfeed_curses_sigterm # state file.
plumbscript2="$(mktemp)"
-$printf '#!/bin/sh\ncat\n' > "$plumbscript2"
+# ignore cat write error output (2>/dev/null), it is not important for this test.
+$printf '#!/bin/sh\ncat 2>/dev/null\n' > "$plumbscript2"
chmod +x "$plumbscript2"
(sleep 1; pkill -SIGTERM sfeed_curses;