asynciodebian/masterdebian/stretch-backportsjessie-backportsmainproxy-ticketupstream
Last change
on this file since 34e5dc7 was
34e5dc7,
checked in by Thomas Klute <thomas2.klute@…>, 8 years ago
|
Test suite: Call "runtests" directly from test scripts
The test scripts used to call runtests through TestMakefile?, which set
up the environment. Moving the environment configuration to
AM_TESTS_ENVIRONMENT in Makefile.am avoids this additional call to
make.
TEST_GAP has been renamed to TEST_MSVA_WAIT because the sleep time in
the MSVA startup loop is its only remaining use.
|
-
Property mode set to
100755
|
File size:
662 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | set -e |
---|
4 | : ${srcdir:="."} |
---|
5 | |
---|
6 | testdir="${srcdir}/tests/23_TLS_reverse_proxy_mismatched_priorities" |
---|
7 | . $(dirname ${0})/proxy_backend.bash |
---|
8 | |
---|
9 | # This test checks if server and proxy priorities are applied |
---|
10 | # properly. The proxy server requries a TLS 1.2 connection, but the |
---|
11 | # back end server is configured not to use TLS 1.2. The proxy request |
---|
12 | # must fail and the client must receive an error message to pass. |
---|
13 | |
---|
14 | function stop_backend |
---|
15 | { |
---|
16 | backend_apache "${dir}" "backend.conf" stop |
---|
17 | } |
---|
18 | backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}" |
---|
19 | trap stop_backend EXIT |
---|
20 | |
---|
21 | ${srcdir}/runtests t-23 |
---|
22 | |
---|
23 | backend_apache "${testdir}" "backend.conf" stop |
---|
24 | trap - EXIT |
---|
Note: See
TracBrowser
for help on using the repository browser.