Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and bzed committed Jan 13, 2017
1 parent 3a9cdf5 commit 49b66d4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion check_checksums/tests
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions check_cups/tests
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion check_etc_hosts/tests
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions check_httpd_status/tests
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion check_varnish/tests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Depends: varnish, systemd, dbus
Restrictions: needs-root isolation-container
Restrictions: needs-root, isolation-container
Tests: test_check_varnish

0 comments on commit 49b66d4

Please sign in to comment.