Description: don't try to connect to network when NO_NETWORK is set
Origin: vendor
Bug-Debian: https://bugs.debian.org/830354
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-07-16

--- a/t/Utils.pm
+++ b/t/Utils.pm
@@ -80,6 +80,7 @@
 
 # check that the web connection is working
 sub web_ok {
+    return 0 if $ENV{NO_NETWORK};
     my $ua = LWP::UserAgent->new( env_proxy => 1, timeout => 30 );
     my $res =
       $ua->request(
