MINI MINI MANI MO

Path : /opt/mysql/mysql-test/suite/x/t/
File Upload :
Current File : //opt/mysql/mysql-test/suite/x/t/connection_expired_certs.test

## Tests for checking xplugin behaviour when server is using expired ssl certificates.

## Preamble
--source ../include/xplugin_preamble.inc

# Tests
--write_file $MYSQL_TMP_DIR/expired_ssl_certs.tmp
-->quiet

-->stmtsql show global status like 'Mysqlx_ssl_server_not%';
-->recvresult

EOF

--replace_regex /Mysqlx_ssl_server_not_after([[:space:]]*)[-a-zA-Z0-9: ]*/Mysqlx_ssl_server_not_after\1/ /Mysqlx_ssl_server_not_before([[:space:]]*)[a-zA-Z0-9: ]*/Mysqlx_ssl_server_not_before\1/
--exec $MYSQLXTEST -uroot --password='' --file=$MYSQL_TMP_DIR/expired_ssl_certs.tmp 2>&1

## Cleanup
--remove_file $MYSQL_TMP_DIR/expired_ssl_certs.tmp

## Postamble
UNINSTALL PLUGIN mysqlx;

OHA YOOOO