[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 02/14: simplify tests
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 49b66d4fc8753dda18d7fe58621a8ecea4b96b59
Author: Evgeni Golov <evgeni at debian.org>
Date: Fri Jan 6 20:26:42 2017 +0100
simplify tests
---
check_checksums/tests | 2 +-
check_cups/tests | 4 ++--
check_etc_hosts/tests | 2 +-
check_httpd_status/tests | 4 ++--
check_varnish/tests | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/check_checksums/tests b/check_checksums/tests
index 8fa5926..2c651c8 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 breaks-testbed
+Restrictions: needs-root, breaks-testbed
diff --git a/check_cups/tests b/check_cups/tests
index c1b0113..0ecd0e6 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 isolation-container
+Test-Command: /usr/lib/nagios/plugins/check_cups -H localhost
+Restrictions: needs-root, isolation-container
diff --git a/check_etc_hosts/tests b/check_etc_hosts/tests
index 6a551ab..026679d 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 breaks-testbed
+Restrictions: needs-root, breaks-testbed
diff --git a/check_httpd_status/tests b/check_httpd_status/tests
index 9295fde..c374a76 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 isolation-container
+Test-Command: /usr/lib/nagios/plugins/check_httpd_status -H localhost
+Restrictions: needs-root, allow-stderr, isolation-container
diff --git a/check_varnish/tests b/check_varnish/tests
index f9a58e4..421e067 100644
--- a/check_varnish/tests
+++ b/check_varnish/tests
@@ -1,3 +1,3 @@
Depends: varnish, systemd, dbus
-Restrictions: needs-root isolation-container
+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