Преглед изворни кода

check_ssh.t: update timeout message

Marcel Telka пре 2 година
родитељ
комит
2288cae9a1
1 измењених фајлова са 1 додато и 1 уклоњено
  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"
     );
 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)");