mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Add option to skip all tests requiring an internet connection.
This commit is contained in:
@ -11,6 +11,11 @@ if [[ -z "${RETRIES_REMAINING-}" ]]; then
|
|||||||
export RETRIES_REMAINING=2
|
export RETRIES_REMAINING=2
|
||||||
fi
|
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
|
if ! ./examples/client/client -V | grep -q 3; then
|
||||||
echo 'skipping ocsp-stapling.test because TLS1.2 is not available.' 1>&2
|
echo 'skipping ocsp-stapling.test because TLS1.2 is not available.' 1>&2
|
||||||
exit 77
|
exit 77
|
||||||
|
Reference in New Issue
Block a user