[libemail-valid-perl] 04/05: Update test_net.patch.

gregor herrmann gregoa at debian.org
Sat Oct 17 20:36:45 UTC 2015


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

gregoa pushed a commit to branch master
in repository libemail-valid-perl.

commit 966088db4f8680e1f0cb1655d59b3f1d70479a81
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Oct 17 22:34:20 2015 +0200

    Update test_net.patch.
    
    Skip tests unconditionally which need network access.
---
 debian/patches/test_net.patch | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/debian/patches/test_net.patch b/debian/patches/test_net.patch
index 08aab4f..77e0837 100644
--- a/debian/patches/test_net.patch
+++ b/debian/patches/test_net.patch
@@ -1,27 +1,19 @@
-Description: Don't fail to build the package if the tests are not
- successful. Some of them require network access for MX checking, which is
- good to check, but should not prohibit people offline from building it (and
- ignoring tests that cannot succeed in that environment). Closes: #336188
- thanks!
+Description: skip network tests
 Origin: vendor
-Bugs-Debian: #336188, #363999
-Forwarded: not-yet
+Bug-Debian: https://bugs.debian.org/336188
+ https://bugs.debian.org/363999
+Forwarded: not-needed
 Author: Ron Lee <ron at debian.org>
 Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-09-30
+Last-Update: 2015-10-17
 
 --- a/t/valid.t
 +++ b/t/valid.t
-@@ -128,8 +128,10 @@
+@@ -128,6 +128,7 @@
  );
  
  SKIP: {
--  skip "your dns appears missing or failing to resolve", 3
--    unless eval { $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1) };
-+#  skip "your dns appears missing or failing to resolve", 3
-+#    unless eval { $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1) };
-+  skip "Net::DNS not available or network down", 3
-+    unless eval { require Net::DNS; 1; } && Net::DNS::mx('debian.org');
++  skip "No online tests during Debian build.", 3;
+   skip "your dns appears missing or failing to resolve", 3
+     unless eval { $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1) };
  
-   if (
-     $v->address(-address => 'blort at will-never-exist.pobox.com', -mxcheck => 1)

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



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