diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-24 07:44:58 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-27 15:45:47 (GMT) |
commit | e154a6f3deb27b8f3a0864625ceb004918cef339 (patch) | |
tree | 00723ad466f8cb77e2595c319359dfd625b13576 /t/t0005-signals.sh | |
parent | aa218dffcc00a8c5f7cccba79c3441addecabb50 (diff) | |
download | git-e154a6f3deb27b8f3a0864625ceb004918cef339.zip git-e154a6f3deb27b8f3a0864625ceb004918cef339.tar.gz git-e154a6f3deb27b8f3a0864625ceb004918cef339.tar.bz2 |
t/helper: merge test-sigchain into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0005-signals.sh')
-rwxr-xr-x | t/t0005-signals.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0005-signals.sh b/t/t0005-signals.sh index c16947c..4c214bd 100755 --- a/t/t0005-signals.sh +++ b/t/t0005-signals.sh @@ -10,7 +10,7 @@ one EOF test_expect_success 'sigchain works' ' - { test-sigchain >actual; ret=$?; } && + { test-tool sigchain >actual; ret=$?; } && { # Signal death by raise() on Windows acts like exit(3), # regardless of the signal number. So we must allow that @@ -24,7 +24,7 @@ test_expect_success 'sigchain works' ' 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" && + git config alias.sigterm "!exec test-tool sigchain" && test_expect_code 143 git sigterm ' |