Changeset 321912b in mod_gnutls
- Timestamp:
- Oct 16, 2017, 1:53:37 AM (5 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, master, proxy-ticket, upstream
- Children:
- 265159d
- Parents:
- ee94de5
- Location:
- test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/runtests
ree94de5 r321912b 112 112 fi 113 113 114 if [ -r "${testdir}/ocsp.conf" ]; then 115 apache_service "${testdir}" "ocsp.conf" stop || true 116 fi 117 114 118 if [ -n "${sleep_pidfile}" ]; then 115 119 kill_by_pidfile "${sleep_pidfile}" … … 178 182 fi 179 183 180 echo "${testdir}/backend.conf" 184 # Start OCSP responder, if configured 185 if [ -r "${testdir}/ocsp.conf" ]; then 186 apache_service "${testdir}" "ocsp.conf" start "${OCSP_LOCK}" 187 CHECK_OCSP_SERVER="true" 188 if [ -n "${VERBOSE}" ]; then 189 echo "OCSP index for the test CA:" 190 cat authority/ocsp_index.txt 191 fi 192 fi 193 194 # Start proxy backend server, if configured 181 195 if [ -r "${testdir}/backend.conf" ]; then 182 196 apache_service "${testdir}" "backend.conf" start "${BACKEND_LOCK}" … … 250 264 fi 251 265 266 if [ -r "${testdir}/ocsp.conf" ]; then 267 apache_service "${testdir}" "ocsp.conf" stop || true 268 fi 269 252 270 if [ -n "${USE_MSVA}" ]; then 253 271 stop_msva -
test/test-27_OCSP_server.bash
ree94de5 r321912b 5 5 [ -n "${OCSP_PORT}" ] || exit 77 6 6 7 : ${srcdir:="."}8 . ${srcdir}/common.bash9 netns_reexec ${@}10 11 . $(dirname ${0})/apache_service.bash12 13 testdir="${srcdir}/tests/27_OCSP_server"14 TEST_NAME="$(basename ${testdir})"15 16 apache_service "${testdir}" "ocsp.conf" start "${OCSP_LOCK}"17 18 # trigger OCSP server test in the runtests script19 export CHECK_OCSP_SERVER="true"20 echo "OCSP index for the test CA:"21 cat authority/ocsp_index.txt22 23 7 ${srcdir}/runtests t-27 24 8 ret=${?} 25 26 apache_service "${testdir}" "ocsp.conf" stop27 9 28 10 echo "Checking if client actually got a stapled response."
Note: See TracChangeset
for help on using the changeset viewer.