Code

Merge branch 'maint' of git://repo.or.cz/git-gui into maint
[git.git] / t / t5710-info-alternate.sh
index 097d037f5da5aad41872952533bdaef0b1e50d3c..2f8e97cb7ea4b8bdf56d5795d512534d504d25c0 100755 (executable)
@@ -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'