summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2021-09-24 14:37:11 -0400
committerJunio C Hamano <gitster@pobox.com>2021-09-27 12:36:45 -0700
commit5b062e1f79b5121296678d91b2bbd032ca86a866 (patch)
treeb8e06a524406c5d3fe882abfdb68b95764a21b7a /refs/files-backend.c
parent078eecbcbe04bf77e8b9afee01a58c905c3b3c50 (diff)
t5312: be more assertive about command failure
When repacking or pruning in a corrupted repository, our tests in t5312 argue that it is OK to complete the operation or bail, as long as we don't actually delete the objects pointed to by the corruption. This isn't a wrong line of reasoning, but the tests are a bit permissive by using test_might_fail. The fact is that we _do_ bail currently, and if we ever stopped doing so, that would be worthy of a human investigating. So let's switch these to test_must_fail. Signed-off-by: Jeff King <peff@peff.net> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions