summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a695fb)
raw | patch | inline | side by side (parent: 9a695fb)
author | Johannes Schindelin <johannes.schindelin@gmx.de> | |
Mon, 27 Apr 2009 22:12:31 +0000 (00:12 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 27 Apr 2009 23:33:53 +0000 (16:33 -0700) |
A test might happen to be the last one in the script, but other people
later may want to add more tests after your test is done.
Do not surprise them by going in a subdirectory to run a part of your test
and never coming out of it. This fixes a162e78 in that respect.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
later may want to add more tests after your test is done.
Do not surprise them by going in a subdirectory to run a part of your test
and never coming out of it. This fixes a162e78 in that respect.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5701-clone-local.sh | patch | blob | history |
diff --git a/t/t5701-clone-local.sh b/t/t5701-clone-local.sh
index f26b511c3ec7bf46f3fe9357cfdec9f95a169a14..19b5c0d552fa8b4665b5e396833264e258365b28 100755 (executable)
--- a/t/t5701-clone-local.sh
+++ b/t/t5701-clone-local.sh
@@ -138,8 +138,8 @@ test_expect_success 'clone empty repository, and then push should not segfault.'
mkdir empty &&
(cd empty && git init) &&
git clone empty empty-clone &&
- cd empty-clone &&
- test_must_fail git push
+ (cd empty-clone &&
+ test_must_fail git push)
'
test_done