source: mod_gnutls/test/test-27_OCSP_server.bash @ 321912b

asynciodebian/masterdebian/stretch-backportsmainproxy-ticketupstream
Last change on this file since 321912b was 321912b, checked in by Thomas Klute <thomas2.klute@…>, 5 years ago

Test suite: Start OCSP responder from runtests if config exists

  • Property mode set to 100755
File size: 399 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${srcdir}/runtests t-27
8ret=${?}
9
10echo "Checking if client actually got a stapled response."
11if grep -P "^- Options: .*OCSP status request," outputs/27_*.output; then
12    echo "OK"
13else
14    echo "Error: \"OCSP status request\" option is missing!"
15    ret=1
16fi
17
18exit ${ret}
Note: See TracBrowser for help on using the repository browser.