From: Tim Kientzle Date: Sat, 28 Dec 2013 21:40:47 +0000 (-0800) Subject: Expand the large zip test a bit X-Git-Tag: v3.1.900a~327^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f30c11cae48271d84ed1c9130b60f659f56471b6;p=thirdparty%2Flibarchive.git Expand the large zip test a bit --- diff --git a/libarchive/test/test_write_format_zip_large.c b/libarchive/test/test_write_format_zip_large.c index f30291790..b1e96184e 100644 --- a/libarchive/test/test_write_format_zip_large.c +++ b/libarchive/test/test_write_format_zip_large.c @@ -241,9 +241,12 @@ DEFINE_TEST(test_write_format_zip_large) /* Test for 32-bit unsigned overflow. */ 4 * GB - 1, 4 * GB, 4 * GB + 1, /* And beyond ... because we can. */ - 8 * GB - 1, 8 * GB, 8 * GB + 1, + 16 * GB - 1, 16 * GB, 16 * GB + 1, 64 * GB - 1, 64 * GB, 64 * GB + 1, - 256 * GB, 1 * TB, 0 }; + 256 * GB - 1, 256 * GB, 256 * GB + 1, + 1 * TB, + 0 + }; int i; char namebuff[64]; struct fileblocks fileblocks;