source: mod_gnutls/test/test-27_OCSP_server.bash @ c3ad933

debian/masterdebian/stretch-backportsupstream
Last change on this file since c3ad933 was c05780e, checked in by Thomas Klute <thomas2.klute@…>, 4 years ago

Proper runtests integration

Test fails if runtests failed, avoid double OCSP response check (the
ocsptool call run runtests also verifies the response).

  • Property mode set to 100755
File size: 347 bytes
Line 
1#!/bin/bash
2# Try HTTPS access with OCSP status check
3
4# Skip if OCSP tests are not enabled
5[ -n "${OCSP_PORT}" ] || exit 77
6
7# trigger OCSP server test in the runtests script
8export CHECK_OCSP_SERVER="true"
9export OCSP_RESPONSE_FILE="$(mktemp mod_gnutls_test-XXXXXX.der)"
10
11${srcdir}/runtests t-27
12ret=${?}
13
14rm "${OCSP_RESPONSE_FILE}"
15exit ${ret}
Note: See TracBrowser for help on using the repository browser.