]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Expand the large zip test a bit
authorTim Kientzle <kientzle@acm.org>
Sat, 28 Dec 2013 21:40:47 +0000 (13:40 -0800)
committerTim Kientzle <kientzle@acm.org>
Sat, 28 Dec 2013 21:40:47 +0000 (13:40 -0800)
libarchive/test/test_write_format_zip_large.c

index f30291790a98988cb880552a6409e159577c26b9..b1e96184e5cce3a3040841c6f01b178d14520e34 100644 (file)
@@ -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;