summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f2354d)
raw | patch | inline | side by side (parent: 2f2354d)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 29 Mar 2006 08:18:50 +0000 (08:18 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 29 Mar 2006 08:18:50 +0000 (08:18 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1362 f882894a-f735-0410-b71e-b25c423dba1c
plugins/t/check_http.t | patch | blob | history |
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t
index 24e4fd6de854f921814d235ed59badf00c4d3b76..408906d97d4610b05fed0fb0a03b583601de8942 100644 (file)
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
cmp_ok( $res->return_code, '==', 2, "Webserver $hostname_invalid not valid" );
# The first part of the message comes from the OS catalogue, so cannot check this.
# On Debian, it is Name or service not known, on Darwin, it is No address associated with nodename
-like( $res->output, "/Unable to open TCP socket/", "Output OK");
+# Is also possible to get a socket timeout if DNS is not responding fast enough
+like( $res->output, "/Unable to open TCP socket|Socket timeout after/", "Output OK");
$res = NPTest->testCmd(
"./check_http --ssl www.verisign.com"