api-string-list.txt: initialize the string_list the easy way
[gitweb.git] / t / t1450-fsck.sh
index 5e36cc71b4cc5f60b3c3a1782f95ae36448020c5..bf7a2cd6fb649e3b210b537d4d25312ba2921f16 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
 '