asynciodebian/masterdebian/stretch-backportsjessie-backportsproxy-ticketupstream
Last change
on this file since d70dd6e was
725e9af,
checked in by Thomas Klute <thomas2.klute@…>, 5 years ago
|
Proxy tests: Fix typo in directory path in exit hook
|
-
Property mode set to
100755
|
File size:
708 bytes
|
Rev | Line | |
---|
[f030883] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | set -e |
---|
[33af2b7] | 4 | : ${srcdir:="."} |
---|
[cf4e708] | 5 | . ${srcdir}/common.bash |
---|
| 6 | netns_reexec ${@} |
---|
[f030883] | 7 | |
---|
[33af2b7] | 8 | testdir="${srcdir}/tests/23_TLS_reverse_proxy_mismatched_priorities" |
---|
| 9 | . $(dirname ${0})/proxy_backend.bash |
---|
[f030883] | 10 | |
---|
| 11 | # This test checks if server and proxy priorities are applied |
---|
| 12 | # properly. The proxy server requries a TLS 1.2 connection, but the |
---|
| 13 | # back end server is configured not to use TLS 1.2. The proxy request |
---|
| 14 | # must fail and the client must receive an error message to pass. |
---|
| 15 | |
---|
| 16 | function stop_backend |
---|
| 17 | { |
---|
[725e9af] | 18 | backend_apache "${testdir}" "backend.conf" stop |
---|
[f030883] | 19 | } |
---|
| 20 | backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}" |
---|
| 21 | trap stop_backend EXIT |
---|
| 22 | |
---|
[34e5dc7] | 23 | ${srcdir}/runtests t-23 |
---|
[f030883] | 24 | |
---|
| 25 | backend_apache "${testdir}" "backend.conf" stop |
---|
| 26 | trap - EXIT |
---|
Note: See
TracBrowser
for help on using the repository browser.