- Timestamp:
- Feb 11, 2016, 7:15:39 PM (5 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- f0923c4
- Parents:
- 5aae10e
- Location:
- test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
r5aae10e r67f2f58 166 166 export TEST_MSVA_WAIT="$(TEST_MSVA_WAIT)"; \ 167 167 export TEST_QUERY_DELAY="$(TEST_QUERY_DELAY)"; \ 168 export BACKEND_HOST="$(TEST_HOST)"; 168 export BACKEND_HOST="$(TEST_HOST)"; \ 169 export HTTP_CLI="@HTTP_CLI@"; 169 170 170 171 if ENABLE_NETNS -
test/test-26_redirect_HTTP_to_HTTPS.bash
r5aae10e r67f2f58 33 33 34 34 # Send status request over HTTP. This should get redirected to HTTPS. 35 wget --ca-certificate=authority/x509.pem -O "${output}" \ 36 "http://${TEST_HOST}:${TEST_HTTP_PORT}/status?auto" 35 URL="http://${TEST_HOST}:${TEST_HTTP_PORT}/status?auto" 36 if [ "$(basename ${HTTP_CLI})" = "curl" ]; then 37 ${HTTP_CLI} --location --cacert authority/x509.pem "${URL}" >"${output}" 38 elif [ "$(basename ${HTTP_CLI})" = "wget" ]; then 39 ${HTTP_CLI} --ca-certificate=authority/x509.pem -O "${output}" "${URL}" 40 else 41 echo "No HTTP client (curl or wget) found, skipping." 2>&1 42 exit 77 43 fi 37 44 38 45 # If the request was redirected correctly, the status report lists the
Note: See TracChangeset
for help on using the changeset viewer.