]> git.99rst.org Git - git.git/commit
cat-file tests: add corrupt loose object test
authorÆvar Arnfjörð Bjarmason <redacted>
Fri, 1 Oct 2021 09:16:43 +0000 (11:16 +0200)
committerJunio C Hamano <redacted>
Fri, 1 Oct 2021 22:05:59 +0000 (15:05 -0700)
commit7e7d220d9d0f357388923d0fe4a7e3f898858adb
tree890d95e4ba59cd89b4365918a9a87da23b0fbf31
parent59b8283d557a00d0c09684e621f5e000e6996b5f
cat-file tests: add corrupt loose object test

Fix a blindspot in the tests for "cat-file" (and by proxy, the guts of
object-file.c) by testing that when we can't decode a loose object
with zlib we'll emit an error from zlib.c.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1006-cat-file.sh
git clone https://git.99rst.org/PROJECT