source: mod_gnutls/test/test-21_TLS_reverse_proxy_wrong_cert.bash @ 33af2b7

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