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 <gitster@pobox.com>
Junio C Hamano committed
Dec 22, 2007 at 19:14 UTC
7263881253acc4c3af8b3131c60da1554b72f8b2
1 file changed
+1
-1
t/t7005-editor.sh
+1
-1
@@ -37,7 +37,7 @@ test_expect_success 'dumb should error out when falling back on vi' '
37
if git commit --amend
38
then
39
echo "Oops?"
40
- exit 1
40
+ false
41
else
42
: happy
43
fi