Changeset 1872744 in mod_gnutls
- Timestamp:
- Oct 11, 2017, 12:35:37 PM (5 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, master, proxy-ticket, upstream
- Children:
- acea635
- Parents:
- b28158c
- Location:
- test
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
rb28158c r1872744 197 197 198 198 EXTRA_DIST = $(apache_data) $(cert_templates) $(shared_identities:=.uid.in) \ 199 common.bash proxy_backend.bash runtests server-crl.template \199 apache_service.bash common.bash runtests server-crl.template \ 200 200 softhsm.bash 201 201 -
test/apache_service.bash
rb28158c r1872744 4 4 . ${srcdir}/common.bash 5 5 6 function backend_apache6 function apache_service 7 7 { 8 8 # needed for start and stop -
test/runtests
rb28158c r1872744 7 7 set -e 8 8 . ${srcdir}/common.bash 9 . ${srcdir}/ proxy_backend.bash9 . ${srcdir}/apache_service.bash 10 10 netns_reexec ${@} 11 11 … … 109 109 110 110 if [ -r "${testdir}/backend.conf" ]; then 111 backend_apache "${testdir}" "backend.conf" stop || true111 apache_service "${testdir}" "backend.conf" stop || true 112 112 fi 113 113 … … 180 180 echo "${testdir}/backend.conf" 181 181 if [ -r "${testdir}/backend.conf" ]; then 182 backend_apache "${testdir}" "backend.conf" start "${BACKEND_LOCK}"182 apache_service "${testdir}" "backend.conf" start "${BACKEND_LOCK}" 183 183 fi 184 184 … … 247 247 248 248 if [ -r "${testdir}/backend.conf" ]; then 249 backend_apache "${testdir}" "backend.conf" stop || true249 apache_service "${testdir}" "backend.conf" stop || true 250 250 fi 251 251 -
test/test-26_redirect_HTTP_to_HTTPS.bash
rb28158c r1872744 11 11 testdir="${srcdir}/tests/26_redirect_HTTP_to_HTTPS" 12 12 TEST_NAME="$(basename ${testdir})" 13 . $(dirname ${0})/ proxy_backend.bash13 . $(dirname ${0})/apache_service.bash 14 14 15 15 : ${TEST_HTTP_PORT:="9935"} … … 22 22 function stop_backend 23 23 { 24 backend_apache "${testdir}" "apache.conf" stop24 apache_service "${testdir}" "apache.conf" stop 25 25 } 26 backend_apache "${testdir}" "apache.conf" start "${TEST_LOCK}"26 apache_service "${testdir}" "apache.conf" start "${TEST_LOCK}" 27 27 trap stop_backend EXIT 28 28 … … 46 46 grep "Current TLS session: (TLS" "${output}" 47 47 48 backend_apache "${testdir}" "apache.conf" stop48 apache_service "${testdir}" "apache.conf" stop 49 49 trap - EXIT -
test/test-27_OCSP_server.bash
rb28158c r1872744 9 9 netns_reexec ${@} 10 10 11 . $(dirname ${0})/ proxy_backend.bash11 . $(dirname ${0})/apache_service.bash 12 12 13 13 testdir="${srcdir}/tests/27_OCSP_server" 14 14 TEST_NAME="$(basename ${testdir})" 15 15 16 backend_apache "${testdir}" "ocsp.conf" start "${OCSP_LOCK}"16 apache_service "${testdir}" "ocsp.conf" start "${OCSP_LOCK}" 17 17 18 18 # trigger OCSP server test in the runtests script … … 24 24 ret=${?} 25 25 26 backend_apache "${testdir}" "ocsp.conf" stop26 apache_service "${testdir}" "ocsp.conf" stop 27 27 28 28 echo "Checking if client actually got a stapled response."
Note: See TracChangeset
for help on using the changeset viewer.