diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-08 23:42:06 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-09 00:03:18 +0100 |
commit | f63d249984e33030c7e4b3fd97ebe3f034abce3c (patch) | |
tree | 1aa91fd251b6feead61e08503267ee24128a3c4b /plugins/t/check_ldap.t | |
parent | 72fd885f4ff423d5351e3387867f2415f1ffc2d8 (diff) | |
download | monitoring-plugins-f63d249984e33030c7e4b3fd97ebe3f034abce3c.tar.gz |
Adapt further test to changed output
Diffstat (limited to 'plugins/t/check_ldap.t')
-rw-r--r-- | plugins/t/check_ldap.t | 2 |
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 | ||
30 | SKIP: { | 30 | SKIP: { |