[libdata-structure-util-perl] 01/08: Add a patch from CPAn RT to fix a test failure with Perl 5.20.
gregor herrmann
gregoa at debian.org
Sun Jun 22 16:03:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdata-structure-util-perl.
commit 00f45296a8fd8676d12c8e563f47f91255bc4198
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Jun 22 17:56:41 2014 +0200
Add a patch from CPAn RT to fix a test failure with Perl 5.20.
Closes: #750234
---
debian/patches/perl-5.20-tests.patch | 31 +++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 32 insertions(+)
diff --git a/debian/patches/perl-5.20-tests.patch b/debian/patches/perl-5.20-tests.patch
new file mode 100644
index 0000000..2f94d8f
--- /dev/null
+++ b/debian/patches/perl-5.20-tests.patch
@@ -0,0 +1,31 @@
+Description: "t/06signature.t tests to make sure that signature(undef) will
+ give different values each time. Due to a perl bug fix, this is no longer
+ the case. Since this test seems to be testing Perl behaviour, rather than
+ Data::Structure::Util behaviour, why not just delete it?"
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=88257
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=88257
+Bug-Debian: https://bugs.debian.org/750234
+Author: SPROUT
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-06-22
+
+--- a/t/06signature.t
++++ b/t/06signature.t
+@@ -21,7 +21,7 @@
+ }
+ }
+
+-use Test::More tests => 16;
++use Test::More tests => 14;
+
+ ok( 1, "we loaded fine..." );
+
+@@ -62,8 +62,6 @@
+
+ ok( signature(), "none" );
+ is( signature(), signature(), "empty list" );
+-ok( my $sigundef = signature( undef ), "none" );
+-isnt( $sigundef, signature( undef ), "none" );
+
+ # BELOW THIS LINE REQUIRES PERL 5.8.0 OR GREATER
+ SKIP: {
diff --git a/debian/patches/series b/debian/patches/series
index 8dccbc9..baebdb4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-checklib-fail.patch
+perl-5.20-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-structure-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list