[libarchive-zip-perl] 03/05: Drop 0002-TODO-test-for-rt.cpan.org-73797-deflated-empty-file-.patch.

gregor herrmann gregoa at debian.org
Thu Jun 18 16:47:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libarchive-zip-perl.

commit 8b51179a14b88398028c4edcf7607fb9ce152129
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jun 18 18:36:04 2015 +0200

    Drop 0002-TODO-test-for-rt.cpan.org-73797-deflated-empty-file-.patch.
    
    Not necessary any more.
---
 ...or-rt.cpan.org-73797-deflated-empty-file-.patch | 54 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 55 deletions(-)

diff --git a/debian/patches/0002-TODO-test-for-rt.cpan.org-73797-deflated-empty-file-.patch b/debian/patches/0002-TODO-test-for-rt.cpan.org-73797-deflated-empty-file-.patch
deleted file mode 100644
index 0e481e5..0000000
--- a/debian/patches/0002-TODO-test-for-rt.cpan.org-73797-deflated-empty-file-.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From b8adb151fbc48f2cd7b5bb3b95a8e4d8152225e6 Mon Sep 17 00:00:00 2001
-From: Niko Tyni <ntyni at debian.org>
-Date: Tue, 10 Jan 2012 20:40:04 +0200
-Subject: [PATCH 2/3] TODO test for [rt.cpan.org #73797]: deflated empty file
- / directory gets corrupted
-
-When reading a zip with a deflated empty file / directory and then
-writing it out, the output gets corrupted. 'unzip -t' outputs:
-
-Archive:  testout.zip
-META-INF/:  ucsize 0 <> csize 2 for STORED entry
-         continuing with "compressed" size value
-    testing: META-INF/                bad CRC 1a6cd7b3  (should be 00000000)
-
-Add a TODO test for this. The test file was created with 'jar'
-from OpenJDK 6:
-
- mkdir empty && /usr/lib/jvm/java-6-openjdk/bin/jar c empty/ > empty.jar
----
- t/17_bug_73797.t |   29 +++++++++++++++++++++++++++++
- t/data/jar.zip   |  Bin 0 -> 427 bytes
- 2 files changed, 29 insertions(+), 0 deletions(-)
- create mode 100644 t/17_bug_73797.t
- create mode 100644 t/data/jar.zip
-
---- /dev/null
-+++ b/t/17_bug_73797.t
-@@ -0,0 +1,26 @@
-+#!/usr/bin/perl
-+
-+use strict;
-+
-+BEGIN {
-+    $|  = 1;
-+    $^W = 1;
-+}
-+use Archive::Zip qw( :ERROR_CODES );
-+use Test::More tests => 4;
-+
-+use t::common;
-+
-+my $zip = Archive::Zip->new();
-+isa_ok( $zip, 'Archive::Zip' );
-+my $dir = $ENV{ADTTMP} ? "debian/t/data" : "t/data";
-+is( $zip->read("$dir/jar.zip"), AZ_OK, 'Read file' );
-+is($zip->writeToFileNamed(OUTPUTZIP), AZ_OK, 'Wrote file');
-+
-+my ($status, $zipout) = testZip();
-+# STDERR->print("status= $status, out=$zipout\n");
-+skip( "test zip doesn't work", 1 ) if $testZipDoesntWork;
-+TODO: {
-+    local $TODO = "deflated empty files/directories corrupt the output";
-+is( $status, 0, "output zip isn't corrupted" );
-+}
diff --git a/debian/patches/series b/debian/patches/series
index 9a98b54..d4c291b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 fix_example_shebangs.patch
-0002-TODO-test-for-rt.cpan.org-73797-deflated-empty-file-.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libarchive-zip-perl.git



More information about the Pkg-perl-cvs-commits mailing list