From: Junio C Hamano Date: Sun, 23 Dec 2007 03:14:33 +0000 (-0800) Subject: t7005: do not exit inside test. X-Git-Tag: v1.5.4-rc2~3^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7263881253acc4c3af8b3131c60da1554b72f8b2?ds=inline;hp=-c t7005: do not exit inside test. The way to signal failure is to leave non-zero in $?, not abort the entire test. Signed-off-by: Junio C Hamano --- 7263881253acc4c3af8b3131c60da1554b72f8b2 diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 44228b5ac1..c1cec55306 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