mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
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 a new issue