diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-11 13:31:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-11 13:31:25 -0700 |
commit | 52faa0e8c80ec8351f735c32d858b167d63a0642 (patch) | |
tree | fa789c116672a3751d8038c1d2e86f798778ec56 /t | |
parent | Merge branch 'fc/at-head' (diff) | |
parent | t0005: skip signal death exit code test on Windows (diff) | |
download | tgif-52faa0e8c80ec8351f735c32d858b167d63a0642.tar.xz |
Merge branch 'jk/test-exit-code-by-signal'
* jk/test-exit-code-by-signal:
t0005: skip signal death exit code test on Windows
t0005: test git exit code from signal death
Diffstat (limited to 't')
-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 93e58c00e8..981437b3a8 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 !MINGW '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 |