[libhttp-async-perl] 01/03: Add patch to disable tests which need DNS queries.

gregor herrmann gregoa at debian.org
Sat Jul 16 20:11:16 UTC 2016


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

gregoa pushed a commit to branch master
in repository libhttp-async-perl.

commit 0cbb4940b8e7d1ef12cc7278e3b41101c2f4c3d0
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jul 16 22:05:21 2016 +0200

    Add patch to disable tests which need DNS queries.
    
    Thanks: Chris Lamb for the bug report.
    Closes: #830324
---
 debian/patches/no-network.patch | 19 +++++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/no-network.patch b/debian/patches/no-network.patch
new file mode 100644
index 0000000..1cbc2cc
--- /dev/null
+++ b/debian/patches/no-network.patch
@@ -0,0 +1,19 @@
+Description: also skip tests which "just" do a DNS query
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/830324
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-07-16
+
+--- a/t/bad-hosts.t
++++ b/t/bad-hosts.t
+@@ -4,6 +4,9 @@
+ 
+ use Test::More;
+ 
++plan skip_all => "enable these tests by setting REAL_SERVERS"
++  unless $ENV{REAL_SERVERS};
++
+ use HTTP::Request;
+ use LWP::UserAgent;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..25411ff
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-network.patch

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



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