[liblwp-protocol-https-perl] 05/06: patch to disable test which tries to connect to apache.org

dod at debian.org dod at debian.org
Thu Jul 10 16:42:12 UTC 2014


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

dod pushed a commit to branch master
in repository liblwp-protocol-https-perl.

commit 6c092cddb309e17c370f4ccc9c4334605db6dc20
Author: Dominique Dumont <dod at debian.org>
Date:   Thu Jul 10 18:28:40 2014 +0200

    patch to disable test which tries to connect to apache.org
---
 debian/patches/disable-test-with-internet | 17 +++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/disable-test-with-internet b/debian/patches/disable-test-with-internet
new file mode 100644
index 0000000..e115860
--- /dev/null
+++ b/debian/patches/disable-test-with-internet
@@ -0,0 +1,17 @@
+Description: disable-test-with-internet 
+ disable test which tries to connect to apache.org
+ even if this test use LWP::Online to test the 
+ connection. Note that the test does not work
+ behind a proxy without setting PERL_LWP_ENV_PROXY=1
+Author: dod
+--- a/t/apache.t
++++ b/t/apache.t
+@@ -6,6 +6,8 @@
+ use LWP::UserAgent;
+ 
+ my $ua = LWP::UserAgent->new();
++plan skip_all => "No internet available on Debian build systems";
++exit;
+ plan skip_all => "Not online" unless $ua->is_online;
+ 
+ plan tests => 5;
diff --git a/debian/patches/series b/debian/patches/series
index 2888e34..32917e9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+disable-test-with-internet
 cert.patch
 746579-fix-peer-certificate-verification.patch

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



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