diff options
| author | Sven Nierlein <sven@consol.de> | 2024-07-23 21:09:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 21:09:21 +0200 |
| commit | 562deb749af3943dfcb6582ffcf48afb0b27e074 (patch) | |
| tree | d0406ecb6d12955fec2a354ed27a23aab490692d /plugins/t/check_http.t | |
| parent | f29785f5035e489576d2ba74be774273b73dd149 (diff) | |
| parent | ea104fa400acfa017e9d7690dea19edef787421f (diff) | |
| download | monitoring-plugins-562deb749af3943dfcb6582ffcf48afb0b27e074.tar.gz | |
Merge branch 'master' into check_curl_features
Diffstat (limited to 'plugins/t/check_http.t')
| -rw-r--r-- | plugins/t/check_http.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t index 1f2fbdfd..6ab4a5b6 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t | |||
| @@ -166,10 +166,10 @@ SKIP: { | |||
| 166 | like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' ); | 166 | like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' ); |
| 167 | like ( $res->output, '/time_ssl=[\d\.]+/', 'Extended Performance Data SSL Output OK' ); | 167 | like ( $res->output, '/time_ssl=[\d\.]+/', 'Extended Performance Data SSL Output OK' ); |
| 168 | 168 | ||
| 169 | $res = NPTest->testCmd( "./$plugin -H www.mozilla.com -u /firefox -f follow" ); | 169 | $res = NPTest->testCmd( "./$plugin -H monitoring-plugins.org -u /download.html -f follow" ); |
| 170 | is( $res->return_code, 0, "Redirection based on location is okay"); | 170 | is( $res->return_code, 0, "Redirection based on location is okay"); |
| 171 | 171 | ||
| 172 | $res = NPTest->testCmd( "./$plugin -H www.mozilla.com --extended-perfdata" ); | 172 | $res = NPTest->testCmd( "./$plugin -H monitoring-plugins.org --extended-perfdata" ); |
| 173 | like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' ); | 173 | like ( $res->output, '/time_connect=[\d\.]+/', 'Extended Performance Data Output OK' ); |
| 174 | } | 174 | } |
| 175 | 175 | ||
