summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_curl.t
diff options
context:
space:
mode:
authorSven Nierlein <sven@consol.de>2024-07-23 19:09:21 (GMT)
committerGitHub <noreply@github.com>2024-07-23 19:09:21 (GMT)
commit562deb749af3943dfcb6582ffcf48afb0b27e074 (patch)
treed0406ecb6d12955fec2a354ed27a23aab490692d /plugins/t/check_curl.t
parentf29785f5035e489576d2ba74be774273b73dd149 (diff)
parentea104fa400acfa017e9d7690dea19edef787421f (diff)
downloadmonitoring-plugins-562deb749af3943dfcb6582ffcf48afb0b27e074.tar.gz
Merge branch 'master' into check_curl_featuresrefs/pull/2006/head
Diffstat (limited to 'plugins/t/check_curl.t')
-rw-r--r--plugins/t/check_curl.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_curl.t b/plugins/t/check_curl.t
index eae98cc..7a930a4 100644
--- a/plugins/t/check_curl.t
+++ b/plugins/t/check_curl.t
@@ -205,9 +205,9 @@ SKIP: {
205 like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' ); 205 like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' );
206 like ( $res->output, '/time_ssl=[\d\.]+/', 'Extended Performance Data SSL Output OK' ); 206 like ( $res->output, '/time_ssl=[\d\.]+/', 'Extended Performance Data SSL Output OK' );
207 207
208 $res = NPTest->testCmd( "./$plugin -H www.mozilla.com -u /firefox -f curl" ); 208 $res = NPTest->testCmd( "./$plugin -H monitoring-plugins.org -u /download.html -f follow" );
209 is( $res->return_code, 0, "Redirection based on location is okay"); 209 is( $res->return_code, 0, "Redirection based on location is okay");
210 210
211 $res = NPTest->testCmd( "./$plugin -H www.mozilla.com --extended-perfdata" ); 211 $res = NPTest->testCmd( "./$plugin -H monitoring-plugins.org --extended-perfdata" );
212 like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' ); 212 like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' );
213} 213}