Skip to content

Commit

Permalink
Merge branch 'jk/test-exit-code-by-signal'
Browse files Browse the repository at this point in the history
* jk/test-exit-code-by-signal:
  t0005: skip signal death exit code test on Windows
  t0005: test git exit code from signal death
  • Loading branch information
Junio C Hamano committed Jun 11, 2013
2 parents bb1c8fb + 04422c7 commit 52faa0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/t0005-signals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 52faa0e

Please sign in to comment.