mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
check_ldap: fix number of skipable tests
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
This commit is contained in:
parent
08fca4d989
commit
82e28411c8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue