summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cc21682)
raw | patch | inline | side by side (parent: cc21682)
author | Junio C Hamano <gitster@pobox.com> | |
Sun, 23 Dec 2007 03:14:33 +0000 (19:14 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 23 Dec 2007 03:45:06 +0000 (19:45 -0800) |
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>
the entire test.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7005-editor.sh | patch | blob | history |
diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh
index 44228b5ac12f5df9d6def93dc74e3687ba2d8e73..c1cec553060a2fd6a4d27191a866b3bf53ba3335 100755 (executable)
--- a/t/t7005-editor.sh
+++ b/t/t7005-editor.sh
if git commit --amend
then
echo "Oops?"
- exit 1
+ false
else
: happy
fi