[libmail-checkuser-perl] 04/09: Add "." to path in require statements of some tests
Florian Schlichting
fsfs at moszumanska.debian.org
Sun Nov 27 22:19:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libmail-checkuser-perl.
commit 239441d418eb88b2e69082c0dd15acf1732ee244
Author: Florian Schlichting <fsfs at debian.org>
Date: Sun Nov 27 22:48:52 2016 +0100
Add "." to path in require statements of some tests
---
debian/patches/cwd-in-inc.patch | 46 +++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 47 insertions(+)
diff --git a/debian/patches/cwd-in-inc.patch b/debian/patches/cwd-in-inc.patch
new file mode 100644
index 0000000..089b60c
--- /dev/null
+++ b/debian/patches/cwd-in-inc.patch
@@ -0,0 +1,46 @@
+Description: Add '.' to path in require statments
+ because Perl removed '.' from @INC
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=119006
+
+--- a/t/dns.t
++++ b/t/dns.t
+@@ -1,6 +1,6 @@
+ use Mail::CheckUser qw(check_email);
+
+-require 't/check.pl';
++require './t/check.pl';
+
+ # network test (SMTP check disabled)
+ $Mail::CheckUser::Skip_Network_Checks = 0;
+--- a/t/syntax.t
++++ b/t/syntax.t
+@@ -1,7 +1,7 @@
+ use Test;
+ use Mail::CheckUser qw(:constants check_email last_check);
+
+-require 't/check.pl';
++require './t/check.pl';
+
+ # syntax test
+ $Mail::CheckUser::Skip_Network_Checks = 1;
+--- a/t/timeout.t
++++ b/t/timeout.t
+@@ -1,6 +1,6 @@
+ use Mail::CheckUser qw(check_email);
+
+-require 't/check.pl';
++require './t/check.pl';
+
+ # timeout test
+ $Mail::CheckUser::Skip_Network_Checks = 0;
+--- a/t/wildcard.t
++++ b/t/wildcard.t
+@@ -1,6 +1,6 @@
+ use Mail::CheckUser qw(check_email);
+
+-require 't/check.pl';
++require './t/check.pl';
+
+ # network test (SMTP check disabled)
+ $Mail::CheckUser::Skip_Network_Checks = 0;
diff --git a/debian/patches/series b/debian/patches/series
index 41042ea..0dbab4f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_pod_errors.patch
+cwd-in-inc.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmail-checkuser-perl.git
More information about the Pkg-perl-cvs-commits
mailing list