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:
parent
cc21682793
commit
7263881253
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user