[libtest-requiresinternet-perl] 01/04: Disable network tests during builds and autopkgtests.

gregor herrmann gregoa at debian.org
Thu Aug 3 20:20:08 UTC 2017


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

gregoa pushed a commit to branch master
in repository libtest-requiresinternet-perl.

commit 3087f81a7994712440bf227050bb6dcdf12db184
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Aug 3 16:15:16 2017 -0400

    Disable network tests during builds and autopkgtests.
    
    While they fail gracefully, network access can be a policy violation and/or
    cause problems.
    
    Thanks: Steve Langasek for the bug report.
    LP: #1427982
---
 debian/rules                    | 2 --
 debian/tests/pkg-perl/smoke-env | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 704f935..daf8c42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,4 @@
 	dh $@
 
 override_dh_auto_test:
-	# make sure tests pass with and without NO_NETWORK_TESTING
-	dh_auto_test
 	NO_NETWORK_TESTING=1 dh_auto_test
diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
new file mode 100644
index 0000000..bac0751
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-env
@@ -0,0 +1 @@
+NO_NETWORK_TESTING=1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-requiresinternet-perl.git



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