diff --git a/scripts/external.test b/scripts/external.test index ac69d849b..39b88e996 100755 --- a/scripts/external.test +++ b/scripts/external.test @@ -12,7 +12,7 @@ ca=./certs/wolfssl-website-ca.pem # www.wolfssl.com isn't using RFC 8446 yet but the draft instead. if ! ./examples/client/client -V | grep -q 3; then echo 'skipping external.test because TLS1.2 is not available.' 1>&2 - exit 0 + exit 77 fi # cloudflare seems to change CAs quickly, disabled by default @@ -21,18 +21,18 @@ if test -n "$WOLFSSL_EXTERNAL_TEST"; then 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.' - exit 0 + exit 77 fi if echo "$BUILD_FLAGS" | fgrep -v -q -e ' -DHAVE_ECC '; then echo 'skipping WOLFSSL_EXTERNAL_TEST because -UHAVE_ECC configuration of build is incompatible.' - exit 0 + exit 77 fi echo "WOLFSSL_EXTERNAL_TEST set, running test..." else echo "WOLFSSL_EXTERNAL_TEST NOT set, won't run" - exit 0 + exit 77 fi # is our desired server there? diff --git a/scripts/google.test b/scripts/google.test index 850caa70d..6eacc4d4f 100755 --- a/scripts/google.test +++ b/scripts/google.test @@ -8,7 +8,7 @@ server=www.google.com if ! ./examples/client/client -V | grep -q 3; then echo 'skipping google.test because TLS1.2 is not available.' 1>&2 - exit 0 + exit 77 fi # is our desired server there? diff --git a/scripts/ocsp-stapling-with-ca-as-responder.test b/scripts/ocsp-stapling-with-ca-as-responder.test index 4808e63be..ecca2b982 100755 --- a/scripts/ocsp-stapling-with-ca-as-responder.test +++ b/scripts/ocsp-stapling-with-ca-as-responder.test @@ -25,7 +25,7 @@ fi if ! ./examples/client/client -V | grep -q 3; then echo 'skipping ocsp-stapling-with-ca-as-responder.test because TLS1.2 is not available.' 1>&2 - exit 0 + exit 77 fi PARENTDIR="$PWD" diff --git a/scripts/ocsp-stapling.test b/scripts/ocsp-stapling.test index 41e536f41..787f7af66 100755 --- a/scripts/ocsp-stapling.test +++ b/scripts/ocsp-stapling.test @@ -13,7 +13,7 @@ fi if ! ./examples/client/client -V | grep -q 3; then echo 'skipping ocsp-stapling.test because TLS1.2 is not available.' 1>&2 - exit 0 + exit 77 fi if openssl s_server -help 2>&1 | fgrep -q -i ipv6 && nc -h 2>&1 | fgrep -q -i ipv6; then @@ -25,7 +25,7 @@ fi if ./examples/client/client '-#' | fgrep -q -e ' -DTEST_IPV6 '; then if [[ "$IPV6_SUPPORTED" == "no" ]]; then echo 'Skipping IPV6 test in environment lacking IPV6 support.' - exit 0 + exit 77 fi LOCALHOST='[::1]' LOCALHOST_FOR_NC='::1' diff --git a/scripts/ocsp-stapling2.test b/scripts/ocsp-stapling2.test index 4ad685a83..5fdc48bc6 100755 --- a/scripts/ocsp-stapling2.test +++ b/scripts/ocsp-stapling2.test @@ -26,7 +26,7 @@ fi if ! ./examples/client/client -V | grep -q 3; then echo 'skipping ocsp-stapling2.test because TLS1.2 is not available.' 1>&2 - exit 0 + exit 77 fi if openssl s_server -help 2>&1 | fgrep -q -i ipv6 && nc -h 2>&1 | fgrep -q -i ipv6; then diff --git a/scripts/ocsp.test b/scripts/ocsp.test index 8cfb69c95..49415b849 100755 --- a/scripts/ocsp.test +++ b/scripts/ocsp.test @@ -14,7 +14,7 @@ ca=certs/external/ca-globalsign-root.pem if ! ./examples/client/client -V | grep -q 3; then echo 'skipping ocsp.test because TLS1.2 is not available.' 1>&2 - exit 0 + exit 77 fi GL_UNREACHABLE=0 diff --git a/scripts/openssl.test b/scripts/openssl.test index 6b81f9fd8..47d1cfc80 100755 --- a/scripts/openssl.test +++ b/scripts/openssl.test @@ -10,7 +10,7 @@ CERT_DIR="$PWD/$(dirname "$0")/../certs" if ! test -n "$WOLFSSL_OPENSSL_TEST"; then echo "WOLFSSL_OPENSSL_TEST NOT set, won't run" - exit 0 + exit 77 fi # if we can, isolate the network namespace to eliminate port collisions.