summaryrefslogtreecommitdiff
path: root/mysql-test/main/ssl_cipher.test
diff options
context:
space:
mode:
authorGeorg Richter <georg@mariadb.com>2022-07-29 07:40:00 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-07-29 13:39:12 +0200
commitf9315b33217c5c126995a6c1d2c286d480091776 (patch)
treeaa916c241424c56fccb3a3405e022db14d9a7f51 /mysql-test/main/ssl_cipher.test
parentcbcc0101ee3016b398490685d30db296b1892db7 (diff)
downloadmariadb-git-f9315b33217c5c126995a6c1d2c286d480091776.tar.gz
CC 3.1 update
Test fixes: Since fix for CONC-603 (wrong error handling in TLS read/write) in case of a read/write error client doesn't return always error 2013 (server has gone away), so in addition we need to check for error 2026 (TLS/SSL error) and 5014 (write error).
Diffstat (limited to 'mysql-test/main/ssl_cipher.test')
-rw-r--r--mysql-test/main/ssl_cipher.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/main/ssl_cipher.test b/mysql-test/main/ssl_cipher.test
index 27854654a9f..4aa9ce812b7 100644
--- a/mysql-test/main/ssl_cipher.test
+++ b/mysql-test/main/ssl_cipher.test
@@ -54,7 +54,7 @@ EOF
# Test to connect using a specifi cipher
--exec $MYSQL_TEST --ssl-cipher=AES128-SHA < $MYSQLTEST_VARDIR/tmp/test.sql 2>&1
# Test to connect using an unknown cipher
---replace_regex /2026 SSL connection error.*/2026 SSL connection error: xxxx/
+--replace_regex /2026 TLS\/SSL error.*/2026 TLS\/SSL error: xxxx/
--error 1
--exec $MYSQL_TEST --ssl-cipher=UNKNOWN-CIPHER < $MYSQLTEST_VARDIR/tmp/test.sql 2>&1
--remove_file $MYSQLTEST_VARDIR/tmp/test.sql