archive-zip: add tests for big ZIP archives
authorRené Scharfe <l.s.r@web.de>
Mon, 24 Apr 2017 17:29:53 +0000 (19:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Apr 2017 04:43:21 +0000 (21:43 -0700)
Test the creation of ZIP archives bigger than 4GB and containing files
bigger than 4GB. They are marked as EXPENSIVE because they take quite a
while and because the first one needs a bit more than 4GB of disk space
to store the resulting archive.

The big archive in the first test is made up of a tree containing
thousands of copies of a small file. Yet the test has to write out the
full archive because unzip doesn't offer a way to read from stdin.

The big file in the second test is provided as a zipped pack file to
avoid writing another 4GB file to disk and then adding it.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found