Imported Upstream version 0.06
This commit is contained in:
BIN
t/data/bad_github11.zip
Normal file
BIN
t/data/bad_github11.zip
Normal file
Binary file not shown.
BIN
t/data/chmod.zip
Normal file
BIN
t/data/chmod.zip
Normal file
Binary file not shown.
BIN
t/data/crypcomp.zip
Normal file
BIN
t/data/crypcomp.zip
Normal file
Binary file not shown.
BIN
t/data/crypt.zip
Normal file
BIN
t/data/crypt.zip
Normal file
Binary file not shown.
BIN
t/data/def.zip
Normal file
BIN
t/data/def.zip
Normal file
Binary file not shown.
BIN
t/data/defstr.zip
Normal file
BIN
t/data/defstr.zip
Normal file
Binary file not shown.
BIN
t/data/emptydef.zip
Normal file
BIN
t/data/emptydef.zip
Normal file
Binary file not shown.
BIN
t/data/emptydefstr.zip
Normal file
BIN
t/data/emptydefstr.zip
Normal file
Binary file not shown.
BIN
t/data/emptystore.zip
Normal file
BIN
t/data/emptystore.zip
Normal file
Binary file not shown.
BIN
t/data/emptystorestr.zip
Normal file
BIN
t/data/emptystorestr.zip
Normal file
Binary file not shown.
1
t/data/fred
Normal file
1
t/data/fred
Normal file
@@ -0,0 +1 @@
|
||||
abc
|
||||
BIN
t/data/good_github11.zip
Normal file
BIN
t/data/good_github11.zip
Normal file
Binary file not shown.
BIN
t/data/jar.zip
Normal file
BIN
t/data/jar.zip
Normal file
Binary file not shown.
BIN
t/data/linux.zip
Normal file
BIN
t/data/linux.zip
Normal file
Binary file not shown.
54
t/data/mkzip.pl
Normal file
54
t/data/mkzip.pl
Normal 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
BIN
t/data/perl.zip
Normal file
Binary file not shown.
BIN
t/data/store.zip
Normal file
BIN
t/data/store.zip
Normal file
Binary file not shown.
BIN
t/data/storestr.zip
Normal file
BIN
t/data/storestr.zip
Normal file
Binary file not shown.
BIN
t/data/streamed.zip
Normal file
BIN
t/data/streamed.zip
Normal file
Binary file not shown.
BIN
t/data/winzip.zip
Normal file
BIN
t/data/winzip.zip
Normal file
Binary file not shown.
BIN
t/data/zip64.zip
Normal file
BIN
t/data/zip64.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user