summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-08-31 21:14:20 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-31 21:16:09 (GMT)
commit2c6d22df9f8a975c88fc9a93c4db8bb0bd116b74 (patch)
tree8b9f316a83d9e9e0fa81a6582b5a3e82e51f314f
parent1efca00ad8fc1a7ad04d80a76ba852e0cce847b0 (diff)
downloadgit-2c6d22df9f8a975c88fc9a93c4db8bb0bd116b74.zip
git-2c6d22df9f8a975c88fc9a93c4db8bb0bd116b74.tar.gz
git-2c6d22df9f8a975c88fc9a93c4db8bb0bd116b74.tar.bz2
t5710: fix two thinkos.
The intention of the test seems to be to build a long chain of clones that locally borrow objects from their parents and see the system give up dereferencing long chains. There were two problems: (1) it did not test the right repository; (2) it did not build a chain long enough to trigger the limitation. I do not think it is a good test to make sure the limitation the current implementation happens to have still exists, but that is a topic at a totally different level. At least this fixes the broken test. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xt/t5710-info-alternate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5710-info-alternate.sh b/t/t5710-info-alternate.sh
index 2e1b48a..b9f6d96 100755
--- a/t/t5710-info-alternate.sh
+++ b/t/t5710-info-alternate.sh
@@ -58,6 +58,8 @@ test_expect_failure 'creating too deep nesting' \
git clone -l -s D E &&
git clone -l -s E F &&
git clone -l -s F G &&
+git clone -l -s G H &&
+cd H &&
test_valid_repo'
cd "$base_dir"