From 9ad4e565fe6d5355127d11a0d2f9d11f949f21a0 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Thu, 5 Sep 2024 15:10:50 -0700 Subject: [PATCH] Restore original comments --- scripts/external.test | 9 ++------- scripts/google.test | 6 ------ scripts/ocsp-stapling.test | 6 ------ 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/scripts/external.test b/scripts/external.test index 2469cf9f4..970f6ad6d 100755 --- a/scripts/external.test +++ b/scripts/external.test @@ -15,12 +15,7 @@ if ! ./examples/client/client -V | grep -q 3; then exit 77 fi -# These tests do not run by default, we will call these opt in. There are -# additional default tests that require network connection, those are -# opt out. -# Not defining WOLFSSL_EXTERNAL_TEST runs only opt out. -# Defining WOLFSSL_EXTERNAL_TEST!=0 runs opt out and opt in. -# Defining WOLFSSL_EXTERNAL_TEST=0 does not run opt in or opt out. +# cloudflare seems to change CAs quickly, disabled by default if ! test -n "$WOLFSSL_EXTERNAL_TEST"; then echo "WOLFSSL_EXTERNAL_TEST not set, won't run" exit 77 @@ -30,7 +25,7 @@ if test "$WOLFSSL_EXTERNAL_TEST" == "0"; then exit 77 fi -# cloudflare seems to change CAs quickly, disabled by default + BUILD_FLAGS="$(./examples/client/client '-#')" if echo "$BUILD_FLAGS" | fgrep -q -e ' -DWOLFSSL_SNIFFER '; then echo 'skipping WOLFSSL_EXTERNAL_TEST because -DWOLFSSL_SNIFFER configuration of build is incompatible.' diff --git a/scripts/google.test b/scripts/google.test index ebc142c27..5e3e8f0f9 100755 --- a/scripts/google.test +++ b/scripts/google.test @@ -6,12 +6,6 @@ server=www.google.com [ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1 -# These tests do not run by default, we will call these opt in. There are -# additional default tests that require network connection, those are -# opt out. -# Not defining WOLFSSL_EXTERNAL_TEST runs only opt out. -# Defining WOLFSSL_EXTERNAL_TEST!=0 runs opt out and opt in. -# Defining WOLFSSL_EXTERNAL_TEST=0 does not run opt in or opt out. if ! test -n "$WOLFSSL_EXTERNAL_TEST"; then echo "WOLFSSL_EXTERNAL_TEST not set, won't run" exit 77 diff --git a/scripts/ocsp-stapling.test b/scripts/ocsp-stapling.test index 8a2d12823..731334c3d 100755 --- a/scripts/ocsp-stapling.test +++ b/scripts/ocsp-stapling.test @@ -11,12 +11,6 @@ if [[ -z "${RETRIES_REMAINING-}" ]]; then export RETRIES_REMAINING=2 fi -# These tests do run by default, we will call these opt out. There are -# additional non-default tests that require network connection, those are -# opt in. -# Not defining WOLFSSL_EXTERNAL_TEST runs only opt out. -# Defining WOLFSSL_EXTERNAL_TEST!=0 runs opt out and opt in. -# Defining WOLFSSL_EXTERNAL_TEST=0 does not run opt in or opt out. if test "$WOLFSSL_EXTERNAL_TEST" == "0"; then echo 'skipping oscp-stapling.test because WOLFSSL_EXTERNAL_TEST is \ defined to the value 0.'