[pmtools] 01/02: Add patch to use English instead of Carp in POD-related tests
Axel Beckert
abe at deuxchevaux.org
Fri Sep 27 20:50:38 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository pmtools.
commit 127b74cbf840d64c23f188c81a8de21ba5512bd0
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Fri Sep 27 22:44:40 2013 +0200
Add patch to use English instead of Carp in POD-related tests
---
debian/changelog | 4 +-
.../fix-carp-has-no-pod-for-test-suite.patch | 51 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 53 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index bcaa2db..c141a79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,7 @@
pmtools (1.51-1) UNRELEASED; urgency=low
- TODO: Still some failures in the new upstream test suite, but far less
- than with 1.50. Yay!
-
* New upstream release
+ * Add patch to use English instead of Carp in POD-related tests
-- Axel Beckert <abe at debian.org> Fri, 27 Sep 2013 22:15:22 +0200
diff --git a/debian/patches/fix-carp-has-no-pod-for-test-suite.patch b/debian/patches/fix-carp-has-no-pod-for-test-suite.patch
new file mode 100644
index 0000000..5925eb5
--- /dev/null
+++ b/debian/patches/fix-carp-has-no-pod-for-test-suite.patch
@@ -0,0 +1,51 @@
+Description: Use English instead of Carp in POD-related tests
+ Carp has no POD in Debian's Perl 5.18.1 and hence those tests fail
+Author: Axel Beckert <abe at debian.org>
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=89006
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89006#txn-1267890
+
+Index: pmtools/t/pmdesc.t
+===================================================================
+--- pmtools.orig/t/pmdesc.t 2013-09-27 22:12:10.000000000 +0200
++++ pmtools/t/pmdesc.t 2013-09-27 22:37:05.000000000 +0200
+@@ -12,8 +12,8 @@
+ $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
+
+ eval {
+- $output = `bin/pmdesc Carp 2>&1`;
++ $output = `bin/pmdesc English 2>&1`;
+ };
+
+ is($?, 0, "pmdesc runs");
+-like($output, qr/Carp \(\d+\.\d+\) - \w/, "described a module");
++like($output, qr/English \(\d+\.\d+\) - \w/, "described a module");
+Index: pmtools/t/pman.t
+===================================================================
+--- pmtools.orig/t/pman.t 2013-09-27 22:12:10.000000000 +0200
++++ pmtools/t/pman.t 2013-09-27 22:37:54.000000000 +0200
+@@ -12,8 +12,8 @@
+ $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
+
+ eval {
+- $output = `bin/pman Carp 2>&1`;
++ $output = `bin/pman English 2>&1`;
+ };
+
+ is($?, 256, "pman runs");
+-like($output, qr/NAME.*[Cc]arp - \w.*SYNOPSIS.*DESCRIPTION/ms, "found Carp");
++like($output, qr/NAME.*[Ee]nglish - \w.*SYNOPSIS.*DESCRIPTION/ms, "found English");
+Index: pmtools/t/pmcat.t
+===================================================================
+--- pmtools.orig/t/pmcat.t 2013-09-27 22:12:10.000000000 +0200
++++ pmtools/t/pmcat.t 2013-09-27 22:38:43.000000000 +0200
+@@ -12,8 +12,8 @@
+ $ENV{"PATH"} = 'blib/script:' . $ENV{"PATH"};
+
+ eval {
+- $output = `bin/pmcat Carp 2>&1`;
++ $output = `bin/pmcat English 2>&1`;
+ };
+
+ is($?, 0, "pmcat runs");
+-like($output, qr/.*package Carp\;.*\=head1 SYNOPSIS/ms, "catted Carp");
++like($output, qr/.*package English\;.*\=head1 SYNOPSIS/ms, "catted English");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9eccfd1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-carp-has-no-pod-for-test-suite.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pmtools.git
More information about the Pkg-perl-cvs-commits
mailing list