improve index-pack tests
authorNicolas Pitre <nico@cam.org>
Thu, 23 Oct 2008 00:59:22 +0000 (20:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Oct 2008 01:08:58 +0000 (18:08 -0700)
commit2b5c208f5bd371ea5527046384f9955dbbceb188
tree1dd2856f0abb0ea0cdfe3b306f2b60d4beecc969
parentce3f6dc655392803a59c9b2f2ec9509fd8061b33
improve index-pack tests

Commit 9441b61dc5 introduced serious bugs in index-pack which are
described and fixed by commit ce3f6dc655.  However, despite the
boldness of those bugs, the test suite still passed.

This improves t5302-pack-index.sh so to ensure a much better code
path coverage.  With commit ce3f6dc655 reverted, 17 of the 26 tests
do fail now.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5302-pack-index.sh