[SCM] Debian packaging of libtest-www-declare-perl branch, master, updated. debian/0.02-2-13-gb5061f3

gregor herrmann gregoa at debian.org
Sat Jun 8 20:47:24 UTC 2013


The following commit has been merged in the master branch:
commit c61fcb412409eaccf1e786622ce70852e11ae821
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 8 22:43:51 2013 +0200

    Patch t/11-nested-flow-error.t to work with Carp 1.25.
    
    Closes: #711618

diff --git a/debian/patches/carp.patch b/debian/patches/carp.patch
new file mode 100644
index 0000000..4b257db
--- /dev/null
+++ b/debian/patches/carp.patch
@@ -0,0 +1,20 @@
+Description: fix test failure with Carp 1.25
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/711618
+Bug: https://rt.cpan.org/Ticket/Display.html?id=85997
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85997
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-06-08
+
+--- a/t/11-nested-flow-error.t
++++ b/t/11-nested-flow-error.t
+@@ -38,6 +38,8 @@
+ 
+ # perldelta 5.14, "Stringification of regexes has changed"
+ my $modifiers = (qr/foobar/ =~ /\Q(?^/) ? "^" : "-xism";
++# Carp 1.25 adds a full stop at the end
++my $fullstop  = ($Carp::VERSION >= 1.25) ? "." : "";
+ 
+-is($results[1]{diag}, "Flow 'visit good' failed: No link matching (?$modifiers:AAHHH!!!) found at t/11-nested-flow-error.t line 16\n", 'nested flow failing only reports once, and gives the right line number');
++is($results[1]{diag}, "Flow 'visit good' failed: No link matching (?$modifiers:AAHHH!!!) found at t/11-nested-flow-error.t line 16$fullstop\n", 'nested flow failing only reports once, and gives the right line number');
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 3a82c03..a917e63 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 perl_re.patch
+carp.patch

-- 
Debian packaging of libtest-www-declare-perl



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