Skip to content

Commit 8aa5f46

Browse files
committed
Add option to skip all tests requiring an internet connection.
1 parent 1c8767b commit 8aa5f46

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/ocsp-stapling.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ if [[ -z "${RETRIES_REMAINING-}" ]]; then
1111
export RETRIES_REMAINING=2
1212
fi
1313

14+
if test -n "$WOLFSSL_NO_EXTERNAL_NETWORK_TESTS"; then
15+
echo 'skipping oscp-stapling.test because WOLFSSL_NO_EXTERNAL_NETWORK_TESTS defined.'
16+
exit 77
17+
fi
18+
1419
if ! ./examples/client/client -V | grep -q 3; then
1520
echo 'skipping ocsp-stapling.test because TLS1.2 is not available.' 1>&2
1621
exit 77

0 commit comments

Comments
 (0)