Reintroduce grepping for debug messages in CID tests in ssl-opt.sh

This commit is contained in:
Hanno Becker 2019-05-03 17:04:23 +01:00
parent 05154c3897
commit 2749a67d1f

View File

@ -1321,12 +1321,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID none
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 2 Bytes): de ad" \
# -c "Peer CID (length 2 Bytes): de ad" \ -s "Peer CID (length 2 Bytes): be ef" \
# -s "Peer CID (length 2 Bytes): be ef" -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty" \ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty" \
@ -1342,12 +1341,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty" \
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 4 Bytes): de ad be ef" \
# -c "Peer CID (length 4 Bytes): de ad be ef" \ -s "Peer CID (length 0 Bytes):" \
# -s "Peer CID (length 0 Bytes):" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty" \ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty" \
@ -1363,12 +1361,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty" \
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -s "Peer CID (length 4 Bytes): de ad be ef" \
# -s "Peer CID (length 4 Bytes): de ad be ef" \ -c "Peer CID (length 0 Bytes):" \
# -c "Peer CID (length 0 Bytes):" -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty" \ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty" \
@ -1402,12 +1399,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID none
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 2 Bytes): de ad" \
# -c "Peer CID (length 2 Bytes): de ad" \ -s "Peer CID (length 2 Bytes): be ef" \
# -s "Peer CID (length 2 Bytes): be ef" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-128-CCM-8" \ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-128-CCM-8" \
@ -1423,12 +1419,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 4 Bytes): de ad be ef" \
# -c "Peer CID (length 4 Bytes): de ad be ef" \ -s "Peer CID (length 0 Bytes):" \
# -s "Peer CID (length 0 Bytes):" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-128-CCM-8" \ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-128-CCM-8" \
@ -1444,12 +1439,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -s "Peer CID (length 4 Bytes): de ad be ef" \
# -s "Peer CID (length 4 Bytes): de ad be ef" \ -c "Peer CID (length 0 Bytes):" \
# -c "Peer CID (length 0 Bytes):" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty, AES-128-CCM-8" \ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty, AES-128-CCM-8" \
@ -1483,12 +1477,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID none
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 2 Bytes): de ad" \
# -c "Peer CID (length 2 Bytes): de ad" \ -s "Peer CID (length 2 Bytes): be ef" \
# -s "Peer CID (length 2 Bytes): be ef" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-128-CBC" \ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-128-CBC" \
@ -1504,12 +1497,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 4 Bytes): de ad be ef" \
# -c "Peer CID (length 4 Bytes): de ad be ef" \ -s "Peer CID (length 0 Bytes):" \
# -s "Peer CID (length 0 Bytes):" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-128-CBC" \ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-128-CBC" \
@ -1525,12 +1517,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -s "Peer CID (length 4 Bytes): de ad be ef" \
# -s "Peer CID (length 4 Bytes): de ad be ef" \ -c "Peer CID (length 0 Bytes):" \
# -c "Peer CID (length 0 Bytes):" \ -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
requires_config_enabled MBEDTLS_SSL_CID requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty, AES-128-CBC" \ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty, AES-128-CBC" \
@ -1565,12 +1556,11 @@ run_test "(STUB) Connection ID: Client+Server enabled, renegotiate" \
-c "found CID extension" \ -c "found CID extension" \
-c "Use of CID extension negotiated" \ -c "Use of CID extension negotiated" \
-s "Copy CIDs into SSL transform" \ -s "Copy CIDs into SSL transform" \
-c "Copy CIDs into SSL transform" -c "Copy CIDs into SSL transform" \
# Uncomment once CID is fully implemented -c "Peer CID (length 2 Bytes): de ad" \
# -c "Peer CID (length 2 Bytes): de ad" \ -s "Peer CID (length 2 Bytes): be ef" \
# -s "Peer CID (length 2 Bytes): be ef" -s "Use of Connection ID has been negotiated" \
# -s "Use of Connection ID has been negotiated" \ -c "Use of Connection ID has been negotiated"
# -c "Use of Connection ID has been negotiated" \
# Tests for Encrypt-then-MAC extension # Tests for Encrypt-then-MAC extension