X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5710-info-alternate.sh;h=2f8e97cb7ea4b8bdf56d5795d512534d504d25c0;hb=0220f1ebdee113e02031de0dba2d5e2c8623d6bb;hp=097d037f5da5aad41872952533bdaef0b1e50d3c;hpb=5c87a8c5602eb09810679dd3e0bcfc7ae1fed111;p=git.git diff --git a/t/t5710-info-alternate.sh b/t/t5710-info-alternate.sh index 097d037f5..2f8e97cb7 100755 --- a/t/t5710-info-alternate.sh +++ b/t/t5710-info-alternate.sh @@ -17,7 +17,7 @@ reachable_via() { } test_valid_repo() { - git fsck-objects --full > fsck.log && + git fsck --full > fsck.log && test `wc -l < fsck.log` = 0 } @@ -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" @@ -81,7 +83,7 @@ test_valid_repo" cd "$base_dir" -test_expect_failure 'that info/alternates is neccessary' \ +test_expect_failure 'that info/alternates is necessary' \ 'cd C && rm .git/objects/info/alternates && test_valid_repo'