chiark / gitweb /
test suite: Make expect_fsck_fail contain objids
[dgit.git] / tests / lib
index 579ddda34665dc279cd268ae70a011515095db1e..fb9ee38b4ab113e27268a3391ec4bd14ba04d35f 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -350,7 +350,7 @@ t-git-dir-check () {
 }
 
 t-git-fsck () {
 }
 
 t-git-fsck () {
-       git fsck --no-dangling --strict
+       git fsck --no-dangling --strict || ${expect_fsck_fail:+true} false
 }
 
 t-fscks () {
 }
 
 t-fscks () {