[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 05/06: Auto update of debian/tests/control

Jan Wagner waja at moszumanska.debian.org
Wed Jan 4 13:05:31 UTC 2017


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

waja pushed a commit to annotated tag debian/19.20170104
in repository pkg-nagios-plugins-contrib.

commit 5ed4f55d3bd5f653bb4b48592b8edb707bda821a
Author: Evgeni Golov <evgeni at debian.org>
Date:   Wed Jan 4 13:36:26 2017 +0100

    Auto update of debian/tests/control
---
 debian/tests/control | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index a46bd41..4c790a8 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,16 +1,20 @@
 Test-Command: mkdir -p /etc/nagios/ && sha256sum /bin/true > /etc/nagios/check_checksums.sha256 && /usr/lib/nagios/plugins/check_checksums
+Restrictions: needs-root
 
 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
 
-Depends: libnet-dns-perl , @
+Depends: libnet-dns-perl, @
 Test-Command: echo "127.0.0.1 localhost" > /etc/hosts && /usr/lib/nagios/plugins/check_etc_hosts
+Restrictions: needs-root
 
 Test-Command: /usr/lib/nagios/plugins/check_etc_resolv
 Depends: bind9-host | knot-host, @
 
 Depends: apache2, liblocale-gettext-perl, libmonitoring-plugin-perl | libnagios-plugin-perl, liblwp-useragent-determined-perl, @
-Test-Command: service apache2 restart 2>/dev/null && /usr/lib/nagios/plugins/check_httpd_status -H localhost
+Test-Command: service apache2 restart && /usr/lib/nagios/plugins/check_httpd_status -H localhost
+Restrictions: needs-root allow-stderr
 
 Depends: lsof, libyaml-syck-perl, @
 Test-Command: /usr/lib/nagios/plugins/check_libs
@@ -21,3 +25,4 @@ Test-Command: /usr/lib/nagios/plugins/check_uptime -f
 Depends: varnish, systemd, dbus, @
 Restrictions: needs-root
 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