[libnet-whois-parser-perl] 01/01: change environment variable for disabling network tests

gregor herrmann gregoa at debian.org
Thu Aug 13 16:07:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libnet-whois-parser-perl.

commit 2ba2d8383905bb2714b243a488122983e32f8229
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Aug 13 18:07:27 2015 +0200

    change environment variable for disabling network tests
    
    Gbp-Dch: Ignore
---
 debian/patches/noInternet.patch | 2 +-
 debian/rules                    | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/noInternet.patch b/debian/patches/noInternet.patch
index a153779..7b76e04 100644
--- a/debian/patches/noInternet.patch
+++ b/debian/patches/noInternet.patch
@@ -15,7 +15,7 @@ Last-Update: 2011-06-18
  plan tests => 11;
 +SKIP: {
 +
-+skip "Build system don't have internet access", 11 unless $ENV{CONNECTED_TO_NET};
++skip "Build system don't have internet access", 11 if $ENV{NO_NETWORK};
  
  my ( $raw, $server ) = whois($domain);
  
diff --git a/debian/rules b/debian/rules
index 24a3ba1..43f06ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 	dh $@
 
 override_dh_auto_test:
-	#use CONNECTED_TO_NET=1 when you have access to internet
-	#this is set to 0 by defautl because debian build systems don't have
+	#use NO_NETWORK=0 when you have access to internet
+	#this is set to 1 by default because debian build systems don't have
 	#internet access.
-	CONNECTED_TO_NET=0 dh_auto_test
+	NO_NETWORK=1 dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-whois-parser-perl.git



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