提交 72638812 编写于 作者: J Junio C Hamano

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: NJunio C Hamano <gitster@pobox.com>
上级 cc216827
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册