t5000: rationalize unzip tests
commit2dd42334dea6619c0774511beda9a02642088f67
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 3 May 2012 08:52:16 +0000 (3 10:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 17:22:57 +0000 (3 10:22 -0700)
treea36cf627a0e6ecffd65a0366054f706d6b13a4d6
parentc743c21591f9433fe784ac38902872701ce2e850
t5000: rationalize unzip tests

Factor out a function for checking the contents of ZIP archives.  It
extracts their contents and compares them to the original files.  This
removes some duplicate code.  Tests that just create archives can lose
their UNZIP prerequisite.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5000-tar-tree.sh