t5000: factor out check_tar
commitdeb9c8ed858e431008695fa265e8b20f547192bc
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Mon, 20 May 2013 09:58:26 +0000 (20 11:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 May 2013 22:31:45 +0000 (20 15:31 -0700)
treed10356c38fe62da0d3959b05a2e005e22db9ce91
parent1355241bf58b325ec9bedc2768d28dd20355c50e
t5000: factor out check_tar

Create a helper function that extracts a tar archive and checks its
contents, modelled after check_zip in t5003.

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