source: mod_gnutls/test/test-27_OCSP_server.bash @ 7f2fd55

asynciodebian/masterproxy-ticket
Last change on this file since 7f2fd55 was 321912b, checked in by Thomas Klute <thomas2.klute@…>, 4 years ago

Test suite: Start OCSP responder from runtests if config exists

  • Property mode set to 100755
File size: 399 bytes
RevLine 
[c4d6e77]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
[c05780e]8ret=${?}
[94cb972]9
[a784735]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
[94cb972]18exit ${ret}
Note: See TracBrowser for help on using the repository browser.