Replace curve_list with group_list and add update test scripts

Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index 7a1436f..7435511 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -9219,8 +9219,8 @@
             "$P_CLI debug_level=4 force_version=tls13" \
             1 \
             -c "received HelloRetryRequest message" \
-            -c "HRR not supported" \
-            -c "Last error was: -0x6E00 - SSL - The handshake negotiation failed"
+            -c "tls13 client state: MBEDTLS_SSL_CLIENT_HELLO(1)" \
+            -c "Last error was: -0x7180 - SSL - Verification of the message MAC failed"
 
 requires_gnutls_tls1_3
 requires_gnutls_next_no_ticket
@@ -9234,8 +9234,8 @@
             "$P_CLI debug_level=4 force_version=tls13" \
             1 \
             -c "received HelloRetryRequest message" \
-            -c "HRR not supported" \
-            -c "Last error was: -0x6E00 - SSL - The handshake negotiation failed" \
+            -c "tls13 client state: MBEDTLS_SSL_CLIENT_HELLO(1)" \
+            -c "Last error was: -0x7180 - SSL - Verification of the message MAC failed" \
             -s "HELLO RETRY REQUEST was queued"
 
 for i in $(ls opt-testcases/*.sh)