asynciodebian/masterdebian/stretch-backportsjessie-backportsproxy-ticketupstream
Last change
on this file since bca7629 was
34e5dc7,
checked in by Thomas Klute <thomas2.klute@…>, 5 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:
384 bytes
|
Rev | Line | |
---|
[ed82a6a] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | set -e |
---|
[33af2b7] | 4 | : ${srcdir:="."} |
---|
[ed82a6a] | 5 | |
---|
[33af2b7] | 6 | testdir="${srcdir}/tests/21_TLS_reverse_proxy_wrong_cert" |
---|
| 7 | . $(dirname ${0})/proxy_backend.bash |
---|
[ed82a6a] | 8 | |
---|
| 9 | function stop_backend |
---|
| 10 | { |
---|
| 11 | backend_apache "${dir}" "backend.conf" stop |
---|
| 12 | } |
---|
| 13 | backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}" |
---|
| 14 | trap stop_backend EXIT |
---|
| 15 | |
---|
[34e5dc7] | 16 | ${srcdir}/runtests t-21 |
---|
[ed82a6a] | 17 | |
---|
| 18 | backend_apache "${testdir}" "backend.conf" stop |
---|
| 19 | trap - EXIT |
---|
Note: See
TracBrowser
for help on using the repository browser.