mbox series

[0/6] mktag tests: test more exhaustively

Message ID cover-0.6-00000000000-20210614T172422Z-avarab@gmail.com (mailing list archive)
Headers show
Series mktag tests: test more exhaustively | expand

Message

Ævar Arnfjörð Bjarmason June 14, 2021, 5:28 p.m. UTC
In [1] I suggested that we could catch the segfault fixed in
c6854508808 (ref-filter: fix NULL check for parse object failure,
2021-04-01) (and possibly other future bugs) my extending the mktag
tests.

Junio wanted the more isolated bug fix first[2], which is fair
enough. But now that the dust has settled I figured I'd submit this
test-only series which stresses mktag, fsck and various commands that
might deal with the broken objects the mktag tests creates.

1. https://lore.kernel.org/git/cover-0.6-00000000000-20210401T135419Z-avarab@gmail.com/
2. https://lore.kernel.org/git/xmqqeefs4dge.fsf@gitster.g/

Ævar Arnfjörð Bjarmason (6):
  mktag tests: parse out options in helper
  mktag tests: invert --no-strict test
  mktag tests: test hash-object --literally and unreachable fsck
  mktag tests: test update-ref and reachable fsck
  mktag tests: test for-each-ref
  mktag tests: test fast-export

 t/t3800-mktag.sh | 112 ++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 97 insertions(+), 15 deletions(-)

Comments

Junio C Hamano June 15, 2021, 3:06 a.m. UTC | #1
Ævar Arnfjörð Bjarmason  <avarab@gmail.com> writes:

> ... But now that the dust has settled I figured I'd submit this
> test-only series which stresses mktag, fsck and various commands that
> might deal with the broken objects the mktag tests creates.

Thanks for not forgetting ;-)