Imported Upstream version 0.06

This commit is contained in:
Mario Fetka
2017-09-14 11:26:13 +02:00
commit fd6c0eeda3
47 changed files with 2570 additions and 0 deletions

BIN
t/data/bad_github11.zip Normal file

Binary file not shown.

BIN
t/data/chmod.zip Normal file

Binary file not shown.

BIN
t/data/crypcomp.zip Normal file

Binary file not shown.

BIN
t/data/crypt.zip Normal file

Binary file not shown.

BIN
t/data/def.zip Normal file

Binary file not shown.

BIN
t/data/defstr.zip Normal file

Binary file not shown.

BIN
t/data/emptydef.zip Normal file

Binary file not shown.

BIN
t/data/emptydefstr.zip Normal file

Binary file not shown.

BIN
t/data/emptystore.zip Normal file

Binary file not shown.

BIN
t/data/emptystorestr.zip Normal file

Binary file not shown.

1
t/data/fred Normal file
View File

@@ -0,0 +1 @@
abc

BIN
t/data/good_github11.zip Normal file

Binary file not shown.

BIN
t/data/jar.zip Normal file

Binary file not shown.

BIN
t/data/linux.zip Normal file

Binary file not shown.

54
t/data/mkzip.pl Normal file
View File

@@ -0,0 +1,54 @@
#!/usr/bin/perl
#This script will create test zip files used by some of the tests.
#
# File Length Streamed Method
# ===============================================
# emptydef.zip Yes No Deflate
# emptydefstr.zip Yes Yes Deflate
# emptystore.zip Yes No Store
# emptystorestr.zip Yes Yes Store
#
use warnings;
use strict;
use IO::Compress::Zip qw(:all);
my $time = 325532800;
zip \"" => "emptydef.zip",
Name => "fred", Stream => 0, Method => ZIP_CM_DEFLATE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"" => "emptydefstr.zip",
Name => "fred", Stream => 1, Method => ZIP_CM_DEFLATE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"" => "emptystore.zip",
Name => "fred", Stream => 0, Method => ZIP_CM_STORE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"" => "emptystorestr.zip",
Name => "fred", Stream => 1, Method => ZIP_CM_STORE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"abc" => "def.zip",
Name => "fred", Stream => 0, Method => ZIP_CM_DEFLATE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"abc" => "defstr.zip",
Name => "fred", Stream => 1, Method => ZIP_CM_DEFLATE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"abc" => "store.zip",
Name => "fred", Stream => 0, Method => ZIP_CM_STORE, Time => $time
or die "Cannot create zip: $ZipError";
zip \"abc" => "storestr.zip",
Name => "fred", Stream => 1, Method => ZIP_CM_STORE, Time => $time
or die "Cannot create zip: $ZipError";

BIN
t/data/perl.zip Normal file

Binary file not shown.

BIN
t/data/store.zip Normal file

Binary file not shown.

BIN
t/data/storestr.zip Normal file

Binary file not shown.

BIN
t/data/streamed.zip Normal file

Binary file not shown.

BIN
t/data/winzip.zip Normal file

Binary file not shown.

BIN
t/data/zip64.zip Normal file

Binary file not shown.