Merge branch 'jc/merge-reduce-parents-early'
[gitweb.git] / t / t1450-fsck.sh
index 5b8ebd805378dc79e449ec1eecd1e97e333a7902..5b79c51b8c51b3fc62823e1b51f9087fbd7f30e3 100755 (executable)
@@ -27,12 +27,8 @@ test_expect_success 'loose objects borrowed from alternate are not missing' '
                git init &&
                echo ../../../.git/objects >.git/objects/info/alternates &&
                test_commit C fileC one &&
-               git fsck >../out 2>&1
+               git fsck --no-dangling >../actual 2>&1
        ) &&
-       {
-               grep -v dangling out >actual ||
-               :
-       } &&
        test_cmp empty actual
 '