diff options
Diffstat (limited to 't/t0005-signals.sh')
-rwxr-xr-x | t/t0005-signals.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t0005-signals.sh b/t/t0005-signals.sh index 93e58c00e..ad9e6047f 100755 --- a/t/t0005-signals.sh +++ b/t/t0005-signals.sh @@ -20,4 +20,11 @@ test_expect_success 'sigchain works' ' test_cmp expect actual ' +test_expect_success 'signals are propagated using shell convention' ' + # we use exec here to avoid any sub-shell interpretation + # of the exit code + git config alias.sigterm "!exec test-sigchain" && + test_expect_code 143 git sigterm +' + test_done |