Add option to skip all tests requiring an internet connection.

This commit is contained in:
Colton Willey
2024-09-04 14:48:25 -07:00
parent 1c8767b4d3
commit 8aa5f463b1

View File

@ -11,6 +11,11 @@ if [[ -z "${RETRIES_REMAINING-}" ]]; then
export RETRIES_REMAINING=2
fi
if test -n "$WOLFSSL_NO_EXTERNAL_NETWORK_TESTS"; then
echo 'skipping oscp-stapling.test because WOLFSSL_NO_EXTERNAL_NETWORK_TESTS defined.'
exit 77
fi
if ! ./examples/client/client -V | grep -q 3; then
echo 'skipping ocsp-stapling.test because TLS1.2 is not available.' 1>&2
exit 77