[libwww-perl] 04/05: Disable DNS queries in tests during build.

gregor herrmann gregoa at debian.org
Mon Nov 20 19:17:34 UTC 2017


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

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

commit f8b8d0c6e9c7fb00df26d93edf6b614b3168c0bf
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Nov 20 20:14:20 2017 +0100

    Disable DNS queries in tests during build.
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index f2b2b3a..3adaeb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,6 @@ unexport PERL_LWP_SSL_VERIFY_HOSTNAME
 %:
 	dh $@
 
+override_dh_auto_test:
+	# disable DNS queries
+	RES_OPTIONS=attempts:0 dh_auto_test

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



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