[libnet-rawip-perl] 01/01: change environment variable for disabling network tests
gregor herrmann
gregoa at debian.org
Thu Aug 13 16:05:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libnet-rawip-perl.
commit 1f18ee007db19dad38dd1cc3834b0b3d7a91da5e
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Aug 13 18:05:43 2015 +0200
change environment variable for disabling network tests
Gbp-Dch: Ignore
---
debian/patches/tests_no_network.patch | 2 +-
debian/rules | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/tests_no_network.patch b/debian/patches/tests_no_network.patch
index 27e7a1a..710c946 100644
--- a/debian/patches/tests_no_network.patch
+++ b/debian/patches/tests_no_network.patch
@@ -14,7 +14,7 @@ Last-Update: 2014-02-22
-
-plan tests => my $tests;
+my $tests;
-+if ( $ENV{NONETWORK} ) {
++if ( $ENV{NO_NETWORK} ) {
+ plan skip_all => 'Network tests disabled';
+} else {
+ plan tests => $tests;
diff --git a/debian/rules b/debian/rules
index 8fb42c8..3f91295 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
dh $@
override_dh_auto_test:
- NONETWORK=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/libnet-rawip-perl.git
More information about the Pkg-perl-cvs-commits
mailing list