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>
This commit is contained in:
@ -37,7 +37,7 @@ test_expect_success 'dumb should error out when falling back on vi' '
|
|||||||
if git commit --amend
|
if git commit --amend
|
||||||
then
|
then
|
||||||
echo "Oops?"
|
echo "Oops?"
|
||||||
exit 1
|
false
|
||||||
else
|
else
|
||||||
: happy
|
: happy
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user