[libfinance-quotehist-perl] 01/06: rename env var disable_network_tests to NO_NETWORK

gregor herrmann gregoa at debian.org
Thu Jul 14 03:57:45 UTC 2016


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

gregoa pushed a commit to branch master
in repository libfinance-quotehist-perl.

commit 5a582c626612fdf87c83868b985d560addce534e
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jul 14 05:46:04 2016 +0200

    rename env var disable_network_tests to NO_NETWORK
    
    Gbp-Dch: Ignore
---
 debian/patches/disable_network_tests.patch | 4 ++--
 debian/rules                               | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/disable_network_tests.patch b/debian/patches/disable_network_tests.patch
index e6c87e4..7c05424 100644
--- a/debian/patches/disable_network_tests.patch
+++ b/debian/patches/disable_network_tests.patch
@@ -4,7 +4,7 @@ Origin: vendor
 Forwarded: not-needed
 Author: John Lightsey <lightsey at debian.org>
 Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2014-05-12
+Last-Update: 2016-07-14
 
 --- a/t/testload.pm
 +++ b/t/testload.pm
@@ -12,7 +12,7 @@ Last-Update: 2014-05-12
  sub network_ok {
    if (! defined $Network_Up) {
      my %ua_parms;
-+    if ($ENV{disable_network_tests}) {
++    if ($ENV{NO_NETWORK}) {
 +      $Network_Up = 0;
 +      return $Network_Up;
 +    }
diff --git a/debian/rules b/debian/rules
index 7e11206..3f91295 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
 	dh $@
 
 override_dh_auto_test:
-	disable_network_tests=1 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/libfinance-quotehist-perl.git



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