diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-11-01 15:23:08 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-11-01 15:23:08 +0100 |
commit | 478beee7c496dee2b21cfa22c7d984e376954f7b (patch) | |
tree | 68a434fc4dc344a87df15b476138b0267638fbde | |
parent | 7bac8243bc630ab90dc06caebe7136b2212fb8f6 (diff) | |
download | xe-478beee7c496dee2b21cfa22c7d984e376954f7b.tar.gz xe-478beee7c496dee2b21cfa22c7d984e376954f7b.tar.xz xe-478beee7c496dee2b21cfa22c7d984e376954f7b.zip |
tests: avoid the shell to test death-by-signal
-rwxr-xr-x | tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests b/tests index 26305a5..6a035a4 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 "exec /bin/kill -HUP \$\$" 2>/dev/null || echo $?' <<EOF +check_output 'exit code when process was killed' 'necho a | xe perl -e '\''kill "KILL", $$'\'' 2>/dev/null || echo $?' <<EOF 125 EOF |