[monitoring-plugins] check_ldap: fix number of skipable tests
Sven Nierlein
git at monitoring-plugins.org
Thu Apr 23 10:30:12 CEST 2015
Module: monitoring-plugins
Branch: master
Commit: 82e28411c8803cdfa1868a530e2a56dc046ada92
Author: Sven Nierlein <Sven.Nierlein at consol.de>
Date: Thu Apr 23 09:51:26 2015 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=82e2841
check_ldap: fix number of skipable tests
Signed-off-by: Sven Nierlein <Sven.Nierlein at consol.de>
---
plugins/t/check_ldap.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/t/check_ldap.t b/plugins/t/check_ldap.t
index a0f0672..b8944d4 100644
--- a/plugins/t/check_ldap.t
+++ b/plugins/t/check_ldap.t
@@ -45,8 +45,8 @@ SKIP: {
};
SKIP: {
- skip "NP_HOST_TCP_LDAP not set", 2 if ! $host_tcp_ldap;
- skip "NP_LDAP_BASE_DN not set", 2 if ! $ldap_base_dn;
+ skip "NP_HOST_TCP_LDAP not set", 12 if ! $host_tcp_ldap;
+ skip "NP_LDAP_BASE_DN not set", 12 if ! $ldap_base_dn;
$cmd = "$command -H $host_tcp_ldap -b $ldap_base_dn -t 5 -w 2 -c 3 -3";
$result = NPTest->testCmd($cmd);
More information about the Commits
mailing list