summaryrefslogtreecommitdiff
path: root/t/t4212-log-corrupt.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-29 22:10:55 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-29 22:10:55 -0700
commit46c8f859b7eebe962d99c8547b0c908bbf8ecf0f (patch)
tree4e1f3da2994cc1f18fbe8734a208315a02cc1114 /t/t4212-log-corrupt.sh
parent102edda4dfa3f2119119c2b52c90a9337a03178f (diff)
parent30d1038d1bd538bf2f8abfb5f5dccf80327a26c9 (diff)
downloadgit-46c8f859b7eebe962d99c8547b0c908bbf8ecf0f.tar.gz
Merge branch 'jk/fsck-exit-code-fix' into maint
"git fsck" failed to report that it found corrupt objects via its exit status in some cases. * jk/fsck-exit-code-fix: fsck: return non-zero status on missing ref tips fsck: exit with non-zero status upon error from fsck_obj()
Diffstat (limited to 't/t4212-log-corrupt.sh')
-rwxr-xr-xt/t4212-log-corrupt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4212-log-corrupt.sh b/t/t4212-log-corrupt.sh
index 58b792bf20..67bd8ec020 100755
--- a/t/t4212-log-corrupt.sh
+++ b/t/t4212-log-corrupt.sh
@@ -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
'