asynciodebian/masterdebian/stretch-backportsjessie-backportsproxy-ticketupstream
Last change
on this file since e24eed68 was
f84890d,
checked in by Thomas Klute <thomas2.klute@…>, 6 years ago
|
Shared bash file for proxy back end management code
Futher test cases for proxy operation will need this code as well, so it makes
sense to keep it in a common file that individual test scripts can parse.
|
-
Property mode set to
100755
|
File size:
336 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | set -e |
---|
4 | |
---|
5 | testdir="./tests/19_TLS_reverse_proxy" |
---|
6 | . ./proxy_backend.bash |
---|
7 | |
---|
8 | function stop_backend |
---|
9 | { |
---|
10 | backend_apache "${dir}" "backend.conf" stop |
---|
11 | } |
---|
12 | backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}" |
---|
13 | trap stop_backend EXIT |
---|
14 | |
---|
15 | make -f TestMakefile t-19 |
---|
16 | |
---|
17 | backend_apache "${testdir}" "backend.conf" stop |
---|
18 | trap - EXIT |
---|
Note: See
TracBrowser
for help on using the repository browser.