[libpoe-component-client-http-perl] 01/07: Update disable_network_tests.patch
gregor herrmann
gregoa at debian.org
Sat Jul 16 19:57:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libpoe-component-client-http-perl.
commit df38cc395ef80a7408f6d542f727861804668cc4
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jul 16 21:46:16 2016 +0200
Update disable_network_tests.patch
to disable a DNS query.
Thanks: Chris Lamb for the bug report.
Closes: #830476
---
debian/patches/disable_network_tests.patch | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/patches/disable_network_tests.patch b/debian/patches/disable_network_tests.patch
index 427f7e6..556a8bd 100644
--- a/debian/patches/disable_network_tests.patch
+++ b/debian/patches/disable_network_tests.patch
@@ -1,7 +1,7 @@
Description: skip internet tests if NO_NETWORK is set.
Forwarded: not-needed
Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2011-07-20
+Last-Update: 2016-07-16
--- a/t/57_pravus_progress.t
+++ b/t/57_pravus_progress.t
@@ -38,3 +38,16 @@ Last-Update: 2011-07-20
unless (grep /SSLify/, keys %INC) {
plan skip_all => 'Need POE::Component::SSLify to test SSL';
+--- a/t/01_request.t
++++ b/t/01_request.t
+@@ -82,9 +82,9 @@
+ );
+ my $port = $_[HEAP]->{testd}->port;
+ my @badrequests = (
+- GET("http://not.localhost.but.invalid/badhost"),
+ GET("file:///from/a/local/filesystem"),
+ );
++ push @badrequests, GET("http://not.localhost.but.invalid/badhost") unless $ENV{NO_NETWORK};
+
+ my @fields = ('field1=111&', 'field2=222');
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpoe-component-client-http-perl.git
More information about the Pkg-perl-cvs-commits
mailing list