source: mod_gnutls/test/test-19_TLS_reverse_proxy.bash @ d92899e

debian/masterdebian/stretch-backportsjessie-backportsupstream
Last change on this file since d92899e was f84890d, checked in by Thomas Klute <thomas2.klute@…>, 5 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
3set -e
4
5testdir="./tests/19_TLS_reverse_proxy"
6. ./proxy_backend.bash
7
8function stop_backend
9{
10    backend_apache "${dir}" "backend.conf" stop
11}
12backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}"
13trap stop_backend EXIT
14
15make -f TestMakefile t-19
16
17backend_apache "${testdir}" "backend.conf" stop
18trap - EXIT
Note: See TracBrowser for help on using the repository browser.