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

gregoa pushed a commit to branch master
in repository libpoe-component-client-http-perl.

commit 4840f2e7fa8c65220d86352448ea7b9edaaafcdf
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Aug 13 18:10:39 2015 +0200

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

diff --git a/debian/patches/disable_network_tests.patch 
b/debian/patches/disable_network_tests.patch
index 6ce77f1..427f7e6 100644
--- a/debian/patches/disable_network_tests.patch
+++ b/debian/patches/disable_network_tests.patch
@@ -1,4 +1,4 @@
-Description: skipinternet tests unless HAS_INTERNET is set.
+Description: skip internet tests if NO_NETWORK is set.
 Forwarded: not-needed
 Author: gregor herrmann <gre...@debian.org>
 Last-Update: 2011-07-20
@@ -12,7 +12,7 @@ Last-Update: 2011-07-20
 -use Test::More tests => 2;
 +use Test::More;
 +
-+unless ($ENV{HAS_INTERNET} ) {
++if ($ENV{NO_NETWORK} ) {
 +  plan skip_all => "Tests disabled that need internet access.";
 +}
 +
@@ -32,7 +32,7 @@ Last-Update: 2011-07-20
  use HTTP::Request::Common qw(GET POST);
  use Test::More;
  
-+unless ($ENV{HAS_INTERNET} ) {
++if ($ENV{NO_NETWORK} ) {
 +  plan skip_all => "Tests disabled that need internet access.";
 +}
  
diff --git a/debian/rules b/debian/rules
index 28d9cbb..5f454c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
        dh $@
 
 override_dh_auto_test:
-       http_proxy= HTTP_PROXY= CGI_HTTP_PROXY= \
+       NO_NETWORK=1 http_proxy= HTTP_PROXY= CGI_HTTP_PROXY= \
        dh_auto_test
 
 override_dh_installexamples:

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libpoe-component-client-http-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

Reply via email to