[libmodule-signature-perl] 03/04: Add Fix-signature-tests.patch patch
Salvatore Bonaccorso
carnil at debian.org
Thu May 14 16:40:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch wheezy
in repository libmodule-signature-perl.
commit 2af6399f3c070712c09fcb7cf50e4f3d4dbb7aa9
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Thu May 14 11:42:39 2015 +0200
Add Fix-signature-tests.patch patch
Fix signature tests by defaulting to verify(skip=>1) when
$ENV{TEST_SIGNATURE} is true.
---
debian/patches/Fix-signature-tests.patch | 32 ++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 33 insertions(+)
diff --git a/debian/patches/Fix-signature-tests.patch b/debian/patches/Fix-signature-tests.patch
new file mode 100644
index 0000000..836c5ca
--- /dev/null
+++ b/debian/patches/Fix-signature-tests.patch
@@ -0,0 +1,32 @@
+Description: Fix signature tests
+ Fix signature tests by defaulting to verify(skip=>1) when
+ $ENV{TEST_SIGNATURE} is true.
+Origin: upstream, https://github.com/audreyt/module-signature/commit/89d6750522c946e257ec2cea217731e0cec7b78f
+Bug: https://github.com/audreyt/module-signature/issues/7
+Forwarded: not-needed
+Author: Audrey Tang <audreyt at audreyt.org>
+Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2015-05-14
+Applied-Upstream: 0.76
+
+--- a/lib/Module/Signature.pm
++++ b/lib/Module/Signature.pm
+@@ -67,7 +67,7 @@ sub _cipher_map {
+ }
+
+ sub verify {
+- my %args = ( @_ );
++ my %args = ( skip => $ENV{TEST_SIGNATURE}, @_ );
+ my $rv;
+
+ (-r $SIGNATURE) or do {
+@@ -928,6 +928,9 @@ If you are already using B<Test::More> f
+ straightforward version of F<t/0-signature.t> can be found in the
+ B<Module::Signature> distribution.
+
++Note that C<MANIFEST.SKIP> is considered by default only when
++C<$ENV{TEST_SIGNATURE}> is set to a true value.
++
+ Also, if you prefer a more full-fledged testing package, and are
+ willing to inflict the dependency of B<Module::Build> on your users,
+ Iain Truskett's B<Test::Signature> might be a better choice.
diff --git a/debian/patches/series b/debian/patches/series
index d2c2a5b..1a484e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
CVE-2013-2145.patch
CVE-2015-3406_CVE-2015-3407_CVE-2015-3408.patch
CVE-2015-3409.patch
+Fix-signature-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-signature-perl.git
More information about the Pkg-perl-cvs-commits
mailing list