File: disable-test-with-internet

package info (click to toggle)
liblwp-protocol-https-perl 6.06-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 164 kB
  • ctags: 32
  • sloc: perl: 400; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;