[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/14: more test restrictions

Bernd Zeimetz bernd at bzed.de
Fri Jan 13 13:26:49 UTC 2017


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

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 3a9cdf58b010a061655a57d19f388082c4dc0475
Author: Evgeni Golov <evgeni at debian.org>
Date:   Thu Jan 5 22:09:43 2017 +0100

    more test restrictions
---
 check_checksums/tests    | 2 +-
 check_cups/tests         | 2 +-
 check_etc_hosts/tests    | 2 +-
 check_httpd_status/tests | 2 +-
 check_varnish/tests      | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/check_checksums/tests b/check_checksums/tests
index a20fbb8..8fa5926 100644
--- a/check_checksums/tests
+++ b/check_checksums/tests
@@ -1,2 +1,2 @@
 Test-Command: mkdir -p /etc/nagios/ && sha256sum /bin/true > /etc/nagios/check_checksums.sha256 && /usr/lib/nagios/plugins/check_checksums
-Restrictions: needs-root
+Restrictions: needs-root breaks-testbed
diff --git a/check_cups/tests b/check_cups/tests
index fdfa9e4..c1b0113 100644
--- a/check_cups/tests
+++ b/check_cups/tests
@@ -1,3 +1,3 @@
 Depends: cups, libdate-manip-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, libnet-cups-perl
 Test-Command: service cups restart && /usr/lib/nagios/plugins/check_cups -H localhost
-Restrictions: needs-root
+Restrictions: needs-root isolation-container
diff --git a/check_etc_hosts/tests b/check_etc_hosts/tests
index 3abbf1c..6a551ab 100644
--- a/check_etc_hosts/tests
+++ b/check_etc_hosts/tests
@@ -1,3 +1,3 @@
 Depends: libnet-dns-perl
 Test-Command: echo "127.0.0.1 localhost" > /etc/hosts && /usr/lib/nagios/plugins/check_etc_hosts
-Restrictions: needs-root
+Restrictions: needs-root breaks-testbed
diff --git a/check_httpd_status/tests b/check_httpd_status/tests
index 9e181d7..9295fde 100644
--- a/check_httpd_status/tests
+++ b/check_httpd_status/tests
@@ -1,3 +1,3 @@
 Depends: apache2, liblocale-gettext-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, liblwp-useragent-determined-perl
 Test-Command: service apache2 restart && /usr/lib/nagios/plugins/check_httpd_status -H localhost
-Restrictions: needs-root allow-stderr
+Restrictions: needs-root allow-stderr isolation-container
diff --git a/check_varnish/tests b/check_varnish/tests
index ec0eb7f..f9a58e4 100644
--- a/check_varnish/tests
+++ b/check_varnish/tests
@@ -1,3 +1,3 @@
 Depends: varnish, systemd, dbus
-Restrictions: needs-root
+Restrictions: needs-root isolation-container
 Tests: test_check_varnish

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib.git



More information about the Pkg-nagios-changes mailing list