[libhttp-throwable-perl] 01/06: Fix autopkgtest by ignoring path to t/ (closes: #837140)

Florian Schlichting fsfs at moszumanska.debian.org
Tue Nov 15 22:41:44 UTC 2016


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

fsfs pushed a commit to branch master
in repository libhttp-throwable-perl.

commit 88e0ba8fd4c2796292edc597f6ca47c5a953f5c9
Author: Florian Schlichting <fsfs at debian.org>
Date:   Tue Nov 15 22:34:14 2016 +0100

    Fix autopkgtest by ignoring path to t/ (closes: #837140)
---
 debian/patches/perl-cwd-inc-removal.patch | 17 +++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/perl-cwd-inc-removal.patch b/debian/patches/perl-cwd-inc-removal.patch
new file mode 100644
index 0000000..e5d238a
--- /dev/null
+++ b/debian/patches/perl-cwd-inc-removal.patch
@@ -0,0 +1,17 @@
+Description: fix autopkgtest
+ pkg-perl-tools adds the absolute test directory path to @INC in
+ autopkgtest runs, which ends up in the error message checked by this test
+Author: Florian Schlichting <fsfs at debian.org>
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837140
+
+--- a/t/500-all.t
++++ b/t/500-all.t
+@@ -12,7 +12,7 @@
+     code   => 500,
+     reason => 'Internal Server Error',
+     length => ignore(),
+-    body   => re(qr{500 Internal Server Error.+at t.lib.Test.HT.pm}s),
++    body   => re(qr{500 Internal Server Error.+at \S*t.lib.Test.HT.pm}s),
+ });
+ 
+ ht_test(NotImplemented => {}, {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e314ad1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+perl-cwd-inc-removal.patch

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



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