[SCM] Debian packaging of libemail-valid-perl branch, master, updated. 45a504d7cf391e01011973494263c5adae3a7e55
Ansgar Burchardt
ansgar at debian.org
Mon Aug 15 15:34:40 UTC 2011
The following commit has been merged in the master branch:
commit 8c189ea76294a9b49b274eb3c06a70cef9aacf55
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Mon Aug 15 17:26:34 2011 +0200
Refresh patch.
diff --git a/debian/patches/test_net.patch b/debian/patches/test_net.patch
index ebed008..33557b5 100644
--- a/debian/patches/test_net.patch
+++ b/debian/patches/test_net.patch
@@ -8,19 +8,19 @@ Description: Don't fail to build the package if the tests are not
ignoring tests that cannot succeed in that environment). Closes: #336188
thanks!
---- a/t/valid.t
-+++ b/t/valid.t
-@@ -85,8 +85,11 @@
+--- libemail-valid-perl.orig/t/valid.t
++++ libemail-valid-perl/t/valid.t
+@@ -90,8 +90,11 @@
);
SKIP: {
- skip "your dns appears missing or failing to resolve", 2
-- unless $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1);
+- unless eval { $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1) };
+ skip "Net::DNS not available or network down", 2
+ unless eval { require Net::DNS; 1; } && Net::DNS::mx('debian.org');
+
+# skip "your dns appears missing or failing to resolve", 2
-+# unless $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1);
++# unless eval { $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1) };
if (
$v->address(-address => 'blort at will-never-exist.pobox.com', -mxcheck => 1)
--
Debian packaging of libemail-valid-perl
More information about the Pkg-perl-cvs-commits
mailing list