Changeset d84f0f7 in mod_gnutls


Ignore:
Timestamp:
Feb 12, 2016, 3:45:29 PM (7 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, proxy-ticket, upstream
Children:
5eb4544
Parents:
f0923c4
Message:

Test 26_redirect_HTTP_to_HTTPS: Add --verbose option when using curl

With this option curl writes the headers it sends and receives to
stderr. This way they get included in the test log, making the HTTP
redirect visible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-26_redirect_HTTP_to_HTTPS.bash

    rf0923c4 rd84f0f7  
    3535URL="http://${TEST_HOST}:${TEST_HTTP_PORT}/status?auto"
    3636if [ "$(basename ${HTTP_CLI})" = "curl" ]; then
    37     ${HTTP_CLI} --location --cacert authority/x509.pem "${URL}" >"${output}"
     37    ${HTTP_CLI} --location --verbose --cacert authority/x509.pem "${URL}" \
     38                >"${output}"
    3839elif [ "$(basename ${HTTP_CLI})" = "wget" ]; then
    3940    ${HTTP_CLI} --ca-certificate=authority/x509.pem -O "${output}" "${URL}"
Note: See TracChangeset for help on using the changeset viewer.