[monitoring-plugins] Let check_http test use HTTP/1.1

Holger Weiss git at monitoring-plugins.org
Mon Feb 22 22:10:11 CET 2016


 Module: monitoring-plugins
 Branch: master
 Commit: 0960239981cf490dd3e831923d3c8663bf820778
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Mon Feb 22 21:59:58 2016 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0960239

Let check_http test use HTTP/1.1

---

 plugins/t/check_http.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t
index c2caec6..2b906e3 100644
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
@@ -154,7 +154,7 @@ SKIP: {
         like  ( $res->output, '/time_ssl=[\d\.]+/', 'Extended Performance Data SSL Output OK' );
 
         $res = NPTest->testCmd(
-                "./check_http --ssl www.e-paycobalt.com"
+                "./check_http --ssl -H www.e-paycobalt.com"
                 );
         cmp_ok( $res->return_code, "==", 0, "Can read https for www.e-paycobalt.com (uses AES certificate)" );
 



More information about the Commits mailing list