This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libnet-mac-vendor-perl.
commit dd91b735bf53052a29af278e3a7a1951e69955e0 Author: gregor herrmann <gre...@debian.org> Date: Thu Jul 9 21:27:08 2015 +0200 Update no-network-tests.patch. --- debian/patches/no-network-tests.patch | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/debian/patches/no-network-tests.patch b/debian/patches/no-network-tests.patch index a900c96..28c7c6e 100644 --- a/debian/patches/no-network-tests.patch +++ b/debian/patches/no-network-tests.patch @@ -2,7 +2,7 @@ Description: skip tests that need internet access, if NO_NETWORK is set Forwarded: not-needed Author: Nuno Carvalho <sm...@cpan.org> Reviewed-by: gregor herrmann <gre...@debian.org> -Last-Update: 2014-10-18 +Last-Update: 2015-07-09 --- a/t/fetch_oui_from_ieee.t +++ b/t/fetch_oui_from_ieee.t @@ -35,11 +35,11 @@ Last-Update: 2014-10-18 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # --my $connected = head( 'http://standards.ieee.org/regauth/oui/oui.txt' ); +-my $connected = head( 'https://standards.ieee.org/regauth/oui/oui.txt' ); +SKIP: { + skip 'Tests require internet', 1 if $ENV{NO_NETWORK}; + -+ my $connected = head( 'http://standards.ieee.org/regauth/oui/oui.txt' ); ++ my $connected = head( 'https://standards.ieee.org/regauth/oui/oui.txt' ); -ok( defined $connected, "Am connected to network" ); + ok( defined $connected, "Am connected to network" ); @@ -79,14 +79,20 @@ Last-Update: 2014-10-18 open STDOUT, ">", \ my $output; --- a/t/load_cache.t +++ b/t/load_cache.t -@@ -12,7 +12,9 @@ +@@ -13,6 +13,9 @@ is( $rc, undef, "load_cache returns undef for bad source [not_there.txt]"); } --{ +SKIP: { -+skip 'Tests require internet', 1 if $ENV{NO_NETWORK}; ++skip 'Tests require internet', 3 if $ENV{NO_NETWORK}; + + { local *STDERR; open STDERR, ">", \my $output; - my $rc = Net::MAC::Vendor::load_cache(); +@@ -37,4 +40,6 @@ + ok( $rc, "load_cache returns true read from created source"); + } + ++} # end SKIP ++ + done_testing(); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-mac-vendor-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits