From 37289cdb9958efb6f175a1739b150e82e7cf2763 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 27 Apr 2018 11:50:14 +0200 Subject: [PATCH] SSL async tests: tighten a few log checks in some test cases --- tests/ssl-opt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index bf7d914b2..cf2c16875 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -4237,6 +4237,7 @@ run_test "SSL async private: error in start" \ 1 \ -s "Async sign callback: injected error" \ -S "Async resume" \ + -S "Async cancel" \ -s "! mbedtls_ssl_handshake returned" requires_config_enabled MBEDTLS_SSL_ASYNC_PRIVATE @@ -4259,6 +4260,7 @@ run_test "SSL async private: error in resume" \ 1 \ -s "Async sign callback: using key slot " \ -s "Async resume callback: sign done but injected error" \ + -S "Async cancel" \ -s "! mbedtls_ssl_handshake returned" requires_config_enabled MBEDTLS_SSL_ASYNC_PRIVATE @@ -4295,6 +4297,7 @@ run_test "SSL async private: cancel after start then fall back to transparent [ \$? -eq 1 ] && $P_CLI force_ciphersuite=TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256" \ 0 \ + -s "Async sign callback: using key slot 0" -S "Async resume" \ -s "Async cancel" \ -s "! mbedtls_ssl_handshake returned" \