From f30c11cae48271d84ed1c9130b60f659f56471b6 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 28 Dec 2013 13:40:47 -0800 Subject: [PATCH] Expand the large zip test a bit --- libarchive/test/test_write_format_zip_large.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.47.2