#!/bin/bash set -e : ${srcdir:="."} testdir="${srcdir}/tests/19_TLS_reverse_proxy" . $(dirname ${0})/proxy_backend.bash function stop_backend { backend_apache "${dir}" "backend.conf" stop } backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}" trap stop_backend EXIT make -f $(dirname ${0})/TestMakefile t-19 backend_apache "${testdir}" "backend.conf" stop trap - EXIT