r72076 - in /trunk/liblwp-protocol-https-perl/debian/patches: ./ network.patch series

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Wed Mar 30 17:58:27 UTC 2011


Author: periapt-guest
Date: Wed Mar 30 17:58:13 2011
New Revision: 72076

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=72076
Log:
add no network patch

Added:
    trunk/liblwp-protocol-https-perl/debian/patches/
    trunk/liblwp-protocol-https-perl/debian/patches/network.patch
    trunk/liblwp-protocol-https-perl/debian/patches/series

Added: trunk/liblwp-protocol-https-perl/debian/patches/network.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblwp-protocol-https-perl/debian/patches/network.patch?rev=72076&op=file
==============================================================================
--- trunk/liblwp-protocol-https-perl/debian/patches/network.patch (added)
+++ trunk/liblwp-protocol-https-perl/debian/patches/network.patch Wed Mar 30 17:58:13 2011
@@ -1,0 +1,23 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Subject: tests depend on network which may not be available
+Forwarded: not-needed
+Last-Update: 2011-03-30
+--- a/t/apache.t
++++ b/t/apache.t
+@@ -1,10 +1,15 @@
+ #!perl -w
+ 
+ use strict;
+-use Test;
++use Test::More;
+ 
+ use LWP::UserAgent;
+ 
++if (not $ENV{ENABLE_NETWORK_TEST}) {
++    plan skip_all => 'network tests not enabled';
++    exit 0;
++}
++
+ my $ua = LWP::UserAgent->new();
+ my $res = $ua->simple_request(HTTP::Request->new(GET => "https://www.apache.org"));
+ 

Added: trunk/liblwp-protocol-https-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblwp-protocol-https-perl/debian/patches/series?rev=72076&op=file
==============================================================================
--- trunk/liblwp-protocol-https-perl/debian/patches/series (added)
+++ trunk/liblwp-protocol-https-perl/debian/patches/series Wed Mar 30 17:58:13 2011
@@ -1,0 +1,1 @@
+network.patch




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