update-ref: fix "verify" command with missing <oldvalue>
[gitweb.git] / t / t4212-log-corrupt.sh
index 58b792bf20a1cd64435fca0b3d24b2417303f819..67bd8ec020e7919a37c581d3ea7c6c12e70f4276 100755 (executable)
@@ -14,7 +14,7 @@ test_expect_success 'setup' '
 '
 
 test_expect_success 'fsck notices broken commit' '
-       git fsck 2>actual &&
+       test_must_fail git fsck 2>actual &&
        test_i18ngrep invalid.author actual
 '