From ccfd5af5f1263c8206ac7af2e603c5afb2f92e47 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 12 Oct 2017 17:34:09 +0200 Subject: tests: avoid the shell changing return value for kill test, let kill kill itself --- tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests b/tests index 4a16431..e7e6162 100755 --- a/tests +++ b/tests @@ -215,7 +215,7 @@ check_output 'exit code on when command fails with 255' 'necho a | xe -s "exit 2 124 EOF -check_output 'exit code when process was killed' 'necho a | xe -s "kill -HUP \$\$" 2>/dev/null || echo $?' </dev/null || echo $?' <