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
This commit is contained in:
Junio C Hamano 2013-06-11 13:31:25 -07:00
commit 52faa0e8c8

View File

@ -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