summaryrefslogtreecommitdiff
path: root/t/t7005-editor.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-23 03:14:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-23 03:45:06 (GMT)
commit7263881253acc4c3af8b3131c60da1554b72f8b2 (patch)
tree87f017766149e4c8c7ebfd73ebe320778348f00f /t/t7005-editor.sh
parentcc216827936e40bc2e8886623fd44f55e0674932 (diff)
downloadgit-7263881253acc4c3af8b3131c60da1554b72f8b2.zip
git-7263881253acc4c3af8b3131c60da1554b72f8b2.tar.gz
git-7263881253acc4c3af8b3131c60da1554b72f8b2.tar.bz2
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-xt/t7005-editor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh
index 44228b5..c1cec55 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