Description: Skip load_cache test that needs internet access, if NO_NETWORK is set
 libnet-mac-vendor-perl (1.25-2) UNRELEASED; urgency=medium
 .
   * Team upload.
   * Found one more place that uses the network.
   * Depend on ieee-data and patch the module to use its copy of oui.txt, which
     is updated monthly (Closes: #805923).
Author: Ivan Kohler <ivan-debian@420.am>
Bug-Debian: https://bugs.debian.org/805923

--- libnet-mac-vendor-perl-1.25.orig/t/load_cache.t
+++ libnet-mac-vendor-perl-1.25/t/load_cache.t
@@ -16,10 +16,13 @@ subtest bad_source => sub {
 	};
 
 subtest load_cache_default => sub {
+	SKIP: {
+	skip 'Tests require internet', 1 if $ENV{NO_NETWORK};
 	local *STDERR;
 	open STDERR, ">", \my $output;
 	my $rc = Net::MAC::Vendor::load_cache();
 	ok( $rc, "load_cache returns true for default source");
+        }
 	};
 
 my ($fh, $filename) = tempfile( UNLINK => 1 );
