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