Merge branch 'jh/update-ref-d-through-symref' into maint
[gitweb.git] / t / t1450-fsck.sh
index bf7a2cd6fb649e3b210b537d4d25312ba2921f16..08aa24ca15a377826b9e1cdad73fb232853aea7f 100755 (executable)
@@ -177,9 +177,7 @@ test_expect_success 'tag pointing to something else than its type' '
        test_when_finished "remove_object $tag" &&
        echo $tag >.git/refs/tags/wrong &&
        test_when_finished "git update-ref -d refs/tags/wrong" &&
-       test_must_fail git fsck --tags 2>out &&
-       cat out &&
-       grep "error in tag.*broken links" out
+       test_must_fail git fsck --tags
 '
 
 test_expect_success 'cleaned up' '