summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-05 15:30:13 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-05 15:30:13 +0000
commite3d689abb4446aa168d150d2832fe9fd76933dcc (patch)
treeee7861f5155a677d542ba8379e84f039d61d3a91 /tests/lib
parent6b959bf443c37b26f058aed813885c469c660828 (diff)
test suite: Make expect_fsck_fail contain objids
This will make it possible to be stricter. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 5fcb6f6..fb9ee38 100644
--- a/tests/lib
+++ b/tests/lib
@@ -350,7 +350,7 @@ t-git-dir-check () {
}
t-git-fsck () {
- git fsck --no-dangling --strict || ${expect_fsck_fail-false}
+ git fsck --no-dangling --strict || ${expect_fsck_fail:+true} false
}
t-fscks () {