summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-17 17:57:00 +0100
committerGitHub <noreply@github.com>2021-11-17 17:57:00 +0100
commitad45727dbe03fae94ed2a7ac26ca828fe0fa6264 (patch)
tree450128f815d3dfb7e70f8038725dd086f8880285 /plugins/t
parent024d268386353133af1a9ff5c0b5879397c19b1c (diff)
parent63cb7ecfcf8d5b6c9f2be704eee7fa7cd9216f88 (diff)
downloadmonitoring-plugins-ad45727dbe03fae94ed2a7ac26ca828fe0fa6264.tar.gz
Merge pull request #1688 from bazzisoft/master
check_curl.c: bugfix: verify certificates option should not force SSL to be used
Diffstat (limited to 'plugins/t')
-rw-r--r--plugins/t/check_curl.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_curl.t b/plugins/t/check_curl.t
index 45ee5339..ada6a045 100644
--- a/plugins/t/check_curl.t
+++ b/plugins/t/check_curl.t
@@ -95,7 +95,7 @@ SKIP: {
95 $res = NPTest->testCmd("./$plugin -v -H $host_tls_http:443 -S -p 443"); 95 $res = NPTest->testCmd("./$plugin -v -H $host_tls_http:443 -S -p 443");
96 like( $res->output, '/^Host: '.$host_tls_http.'\s*$/ms', "Host Header OK" ); 96 like( $res->output, '/^Host: '.$host_tls_http.'\s*$/ms', "Host Header OK" );
97 97
98 $res = NPTest->testCmd("./$plugin -v -H $host_tls_http -D -p 443"); 98 $res = NPTest->testCmd("./$plugin -v -H $host_tls_http -D -S -p 443");
99 like( $res->output, '/(^Host: '.$host_tls_http.'\s*$)|(cURL returned 60)/ms', "Host Header OK" ); 99 like( $res->output, '/(^Host: '.$host_tls_http.'\s*$)|(cURL returned 60)/ms', "Host Header OK" );
100}; 100};
101 101