summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_ldap.t
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-03-09 11:32:40 +0100
committerGitHub <noreply@github.com>2025-03-09 11:32:40 +0100
commit6dbc84f93595be81aee4de4ac3122b942047c22d (patch)
tree885f684a971bdc9dcc9fb608454660ff343f6704 /plugins/t/check_ldap.t
parent1d55c2279731766a837b4973f3da79b3e3a6bd90 (diff)
parent0426b8947d9e03375219074c3741616599651db4 (diff)
downloadmonitoring-plugins-6dbc84f93595be81aee4de4ac3122b942047c22d.tar.gz
Merge pull request #2071 from RincewindsHat/refactor/check_ssh
Refactor/check ssh
Diffstat (limited to 'plugins/t/check_ldap.t')
-rw-r--r--plugins/t/check_ldap.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_ldap.t b/plugins/t/check_ldap.t
index b8a4a766..fcba0393 100644
--- a/plugins/t/check_ldap.t
+++ b/plugins/t/check_ldap.t
@@ -24,7 +24,7 @@ SKIP: {
24 24
25 $result = NPTest->testCmd("$command -H $host_nonresponsive -b ou=blah -t 2 -w 1 -c 1"); 25 $result = NPTest->testCmd("$command -H $host_nonresponsive -b ou=blah -t 2 -w 1 -c 1");
26 is( $result->return_code, 2, "$command -H $host_nonresponsive -b ou=blah -t 5 -w 2 -c 3" ); 26 is( $result->return_code, 2, "$command -H $host_nonresponsive -b ou=blah -t 5 -w 2 -c 3" );
27 is( $result->output, 'CRITICAL - Socket timeout after 2 seconds', "output ok" ); 27 like($result->output, '/Socket timeout after \d+ seconds/', "output ok" );
28}; 28};
29 29
30SKIP: { 30SKIP: {