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>
Junio C Hamano committed
Aug 31, 2006 at 14:14 UTC
2c6d22df9f8a975c88fc9a93c4db8bb0bd116b74
1 file changed
+2
t/t5710-info-alternate.sh
+2
@@ -58,6 +58,8 @@ test_expect_failure 'creating too deep nesting' \
58
git clone -l -s D E &&
59
git clone -l -s E F &&
60
git clone -l -s F G &&
61
+git clone -l -s G H &&
62
+cd H &&
63
test_valid_repo'
64
65
cd "$base_dir"