summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2015-04-23 09:51:26 +0200
committerSven Nierlein <Sven.Nierlein@consol.de>2015-04-23 09:51:26 +0200
commit82e28411c8803cdfa1868a530e2a56dc046ada92 (patch)
tree86cd9ff7d03ff48db6388ef28ddf288c42dc9f35 /plugins
parent08fca4d98991b7dcd6ecad71e8c1e74ee6ae87f6 (diff)
downloadmonitoring-plugins-82e28411c8803cdfa1868a530e2a56dc046ada92.tar.gz
check_ldap: fix number of skipable tests
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/t/check_ldap.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_ldap.t b/plugins/t/check_ldap.t
index a0f06722..b8944d4b 100644
--- a/plugins/t/check_ldap.t
+++ b/plugins/t/check_ldap.t
@@ -45,8 +45,8 @@ SKIP: {
45}; 45};
46 46
47SKIP: { 47SKIP: {
48 skip "NP_HOST_TCP_LDAP not set", 2 if ! $host_tcp_ldap; 48 skip "NP_HOST_TCP_LDAP not set", 12 if ! $host_tcp_ldap;
49 skip "NP_LDAP_BASE_DN not set", 2 if ! $ldap_base_dn; 49 skip "NP_LDAP_BASE_DN not set", 12 if ! $ldap_base_dn;
50 50
51 $cmd = "$command -H $host_tcp_ldap -b $ldap_base_dn -t 5 -w 2 -c 3 -3"; 51 $cmd = "$command -H $host_tcp_ldap -b $ldap_base_dn -t 5 -w 2 -c 3 -3";
52 $result = NPTest->testCmd($cmd); 52 $result = NPTest->testCmd($cmd);