[libhttp-async-perl] 02/06: Add patch to disable t/proxy-with-https.t

gregor herrmann gregoa at debian.org
Sun Nov 3 13:55:34 UTC 2013


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 a4da20a08d760798e77b75a21f58ecea405787c8
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Nov 3 14:47:48 2013 +0100

    Add patch to disable t/proxy-with-https.t
    
    unless an environment variable is set. The tests need internet access.
    
    Thanks: Felix Geyer for the bug report.
    Closes: #728588
---
 debian/patches/no-network.patch |   22 ++++++++++++++++++++++
 debian/patches/series           |    1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/no-network.patch b/debian/patches/no-network.patch
new file mode 100644
index 0000000..c0e5e66
--- /dev/null
+++ b/debian/patches/no-network.patch
@@ -0,0 +1,22 @@
+Description: Only run these tests if REAL_SERVERS is set.
+ Tests need internet accesss. Solution copied from t/real-servers.t.
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/728588
+Bug: https://rt.cpan.org/Ticket/Display.html?id=90001
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=90001
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-11-03
+
+--- a/t/proxy-with-https.t
++++ b/t/proxy-with-https.t
+@@ -3,6 +3,10 @@
+ use URI::Escape;
+ 
+ use Test::More;
++
++plan skip_all => "enable these tests by setting REAL_SERVERS"
++  unless $ENV{REAL_SERVERS};
++
+ use HTTP::Request;
+ 
+ require 't/TestServer.pm';
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