summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a4818f)
raw | patch | inline | side by side (parent: 7a4818f)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 7 Mar 2006 10:33:00 +0000 (10:33 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 7 Mar 2006 10:33:00 +0000 (10:33 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1321 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 598a423f67458446a9e6412270cabe6a1e69ad17..9b90fd064695b112a171ed73a7cfe84ee9866034 100644 (file)
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
"An invalid (not known to DNS) hostname",
"nosuchhost");
-plan tests => 6;
+plan tests => 8;
$res = NPTest->testCmd(
cmp_ok( $res->return_code, '==', 2, "Webserver $hostname_invalid not valid" );
like( $res->output, "/Name or service not known.*/", "Output OK");
+$res = NPTest->testCmd(
+ "./check_http --ssl www.verisign.com"
+ );
+cmp_ok( $res->return_code, '==', 0, "Can read https for www.verisign.com" );
+
+$res = NPTest->testCmd(
+ "./check_http --ssl www.e-paycobalt.com"
+ );
+cmp_ok( $res->return_code, "==", 0, "Can read https for www.e-paycobalt.com (uses AES certificate)" );