Changeset 05984a0 in mod_gnutls for test/test-27_OCSP_server.bash


Ignore:
Timestamp:
Dec 26, 2019, 3:47:10 AM (7 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
0909c92
Parents:
006f91a
git-author:
Fiona Klute <fiona.klute@…> (12/26/19 03:38:34)
git-committer:
Fiona Klute <fiona.klute@…> (12/26/19 03:47:10)
Message:

Replace "runtests" with "runtest.py"

This is the next step from handling HTTP requests and responses in
Python. In particular error handling is a lot easier to do in Python
than using Bash trap functions.

File:
1 edited

Legend:

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

    r006f91a r05984a0  
    55[ -n "${OCSP_PORT}" ] || exit 77
    66
    7 ${srcdir}/runtests t-27
     7log="outputs/27_OCSP_server.log"
     8${srcdir}/netns_py.bash ${srcdir}/runtest.py --test-number 27 \
     9         --log-connection "${log}"
    810ret=${?}
    911
    1012echo "Checking if client actually got a stapled response."
    11 if grep -P "^- Options: .*OCSP status request," outputs/27_*.output; then
     13if grep -P "^- Options: .*OCSP status request," "${log}"; then
    1214    echo "OK"
    1315else
Note: See TracChangeset for help on using the changeset viewer.