diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-12-22 19:14:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-22 19:45:06 -0800 |
commit | 7263881253acc4c3af8b3131c60da1554b72f8b2 (patch) | |
tree | 87f017766149e4c8c7ebfd73ebe320778348f00f /t/t7005-editor.sh | |
parent | Don't dereference NULL upon lookup failure. (diff) | |
download | tgif-7263881253acc4c3af8b3131c60da1554b72f8b2.tar.xz |
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>
Diffstat (limited to 't/t7005-editor.sh')
-rwxr-xr-x | t/t7005-editor.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 44228b5ac1..c1cec55306 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -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 |