add test for streaming corrupt blobs
commit7b6257b0d45f562629ac660cb1845c8a2aac7df1
authorJeff King <peff@peff.net>
Mon, 25 Mar 2013 20:21:34 +0000 (25 16:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Mar 2013 20:47:06 +0000 (27 13:47 -0700)
treec8a1253602a7c171916b5b1c54d174e98c675af7
parent692f0bc7ae0cb818bf3c757d509773d6f2e48c68
add test for streaming corrupt blobs

We do not have many tests for handling corrupt objects. This
new test at least checks that we detect a byte error in a
corrupt blob object while streaming it out with cat-file.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1060-object-corruption.sh [new file with mode: 0755]