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: http://git.ipfire.org/?a=commitdiff_plain;h=7263881253acc4c3af8b3131c60da1554b72f8b2;p=thirdparty%2Fgit.git 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 --- 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