summaryrefslogtreecommitdiff
path: root/libarchive/test/test_write_format_zip_large.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@acm.org>2013-12-28 13:40:47 -0800
committerTim Kientzle <kientzle@acm.org>2013-12-28 13:40:47 -0800
commitf30c11cae48271d84ed1c9130b60f659f56471b6 (patch)
tree413ddc18317e7b569e567756f23811cc69d067aa /libarchive/test/test_write_format_zip_large.c
parent5f685c8014edd8139c6991d47e60c2c7e08dee24 (diff)
downloadlibarchive-f30c11cae48271d84ed1c9130b60f659f56471b6.tar.gz
Expand the large zip test a bit
Diffstat (limited to 'libarchive/test/test_write_format_zip_large.c')
-rw-r--r--libarchive/test/test_write_format_zip_large.c7
1 files 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 f3029179..b1e96184 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;