Add tls13 compat tests with bash scripts
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index 1e1030c..4c91e3e 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -1289,11 +1289,6 @@
run_test_memory_after_hanshake_with_mfl 512 "$MEMORY_USAGE_MFL_16K"
}
-run_test_tls13_compat()
-{
- eval "$(scripts/generate_tls13_compat_tests.py -a)"
-}
-
cleanup() {
rm -f $CLI_OUT $SRV_OUT $PXY_OUT $SESSION
rm -f context_srv.txt
@@ -8995,7 +8990,7 @@
-c "Last error was: -0x6E00 - SSL - The handshake negotiation failed" \
-s "HELLO RETRY REQUEST was queued"
-run_test_tls13_compat
+. opt-testcases/tls13-compat.sh
# Test heap memory usage after handshake
requires_config_enabled MBEDTLS_MEMORY_DEBUG