Explorar o código

Merge pull request #715 from mtelka/check_ssh

check_ssh.t: update timeout message
dylan-at-nagios hai 1 ano
pai
achega
36e3e7cd4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/t/check_ssh.t

+ 1 - 1
plugins/t/check_ssh.t

@@ -37,7 +37,7 @@ $result = NPTest->testCmd(
     "./check_ssh -H $host_nonresponsive -t 2"
     "./check_ssh -H $host_nonresponsive -t 2"
     );
     );
 cmp_ok($result->return_code, '==', 2, "Exit with return code 0 (OK)");
 cmp_ok($result->return_code, '==', 2, "Exit with return code 0 (OK)");
-like($result->output, '/^CRITICAL - Socket timeout after 2 seconds/', "Status text if command returned none (OK)");
+like($result->output, '/^CRITICAL - Socket timeout/', "Status text if command returned none (OK)");