Skip to contentSkip to conversation

t5701: do not get stuck in empty-push/

PATCH New Johannes Schindelin 1 participant 1 message Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 t5701: do not get stuck in empty-push/

When keeping own tests in a private Git tree, it is nice to assume that the current working directory will not change just because another test was added in the upstream repository.

Fix a162e78 in that respect.

---
 t/t5701-clone-local.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
t/t5701-clone-local.sh +2 -2
index f26b511..19b5c0d 100755
@@ -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
Signature · 1 line
1.6.3.rc3.326.g039c1