Changeset a784735 in mod_gnutls


Ignore:
Timestamp:
Jun 16, 2016, 6:47:53 PM (18 months ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, upstream
Children:
78b75b3
Parents:
4d4a406
git-author:
Thomas Klute <thomas2.klute@…> (06/16/16 17:44:42)
git-committer:
Thomas Klute <thomas2.klute@…> (06/16/16 18:47:53)
Message:

Test 27_OCSP_server: Check if gnutls-cli received a stapled OCSP response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-27_OCSP_server.bash

    rc05780e ra784735  
    77# trigger OCSP server test in the runtests script
    88export CHECK_OCSP_SERVER="true"
    9 export OCSP_RESPONSE_FILE="$(mktemp mod_gnutls_test-XXXXXX.der)"
    109
    1110${srcdir}/runtests t-27
    1211ret=${?}
    1312
    14 rm "${OCSP_RESPONSE_FILE}"
     13echo "Checking if client actually got a stapled response."
     14if grep -P "^- Options: .*OCSP status request," outputs/27_*.output; then
     15    echo "OK"
     16else
     17    echo "Error: \"OCSP status request\" option is missing!"
     18    ret=1
     19fi
     20
    1521exit ${ret}
Note: See TracChangeset for help on using the changeset viewer.