summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/t/check_http.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t
index 24e4fd6..408906d 100644
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
@@ -45,7 +45,8 @@ $res = NPTest->testCmd(
45cmp_ok( $res->return_code, '==', 2, "Webserver $hostname_invalid not valid" ); 45cmp_ok( $res->return_code, '==', 2, "Webserver $hostname_invalid not valid" );
46# The first part of the message comes from the OS catalogue, so cannot check this. 46# The first part of the message comes from the OS catalogue, so cannot check this.
47# On Debian, it is Name or service not known, on Darwin, it is No address associated with nodename 47# On Debian, it is Name or service not known, on Darwin, it is No address associated with nodename
48like( $res->output, "/Unable to open TCP socket/", "Output OK"); 48# Is also possible to get a socket timeout if DNS is not responding fast enough
49like( $res->output, "/Unable to open TCP socket|Socket timeout after/", "Output OK");
49 50
50$res = NPTest->testCmd( 51$res = NPTest->testCmd(
51 "./check_http --ssl www.verisign.com" 52 "./check_http --ssl www.verisign.com"