asynciodebian/masterdebian/stretch-backportsjessie-backportsproxy-ticketupstream
Last change
on this file since f21d2a6 was
33af2b7,
checked in by Thomas Klute <thomas2.klute@…>, 6 years ago
|
Test suite: Add tests to "dist" target and support VPATH builds
Supporting VPATH builds requires using $srcdir to find non-generated
data rather than fixed relative paths. If test are not called through
the make system, local defaults must be used. Not changing directories
during tests any more makes this easier.
A few files (e.g. templates, generated CRL) have been moved around to
better match the new structure.
|
-
Property mode set to
100755
|
File size:
680 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 | make -f $(dirname ${0})/TestMakefile t-23 |
---|
22 | |
---|
23 | backend_apache "${testdir}" "backend.conf" stop |
---|
24 | trap - EXIT |
---|
Note: See
TracBrowser
for help on using the repository browser.