From: Junio C Hamano Date: Sun, 23 Dec 2007 03:55:33 GMT Subject: [PATCH 1/4] t7005: do not exit inside test. Message-ID: <1198382136-15724-1-git-send-email-gitster@pobox.com> The way to signal failure is to leave non-zero in $?, not abort the entire test. Signed-off-by: Junio C Hamano --- t/t7005-editor.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 44228b5..c1cec55 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -37,7 +37,7 @@ test_expect_success 'dumb should error out when falling back on vi' ' if git commit --amend then echo "Oops?" - exit 1 + false else : happy fi -- 1.5.4.rc1.19.g9151fa