diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-11-03 11:47:10 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-11-03 11:47:10 +0100 |
commit | f8997c68fe645cc94f6730a135aca5e530dec449 (patch) | |
tree | b3d607eb1a106a16b900d7da6af81a60332a7584 /mysql-test/main/bad_startup_options.test | |
parent | 49a22c5897823c528d52886f6048d5b4c91e221f (diff) | |
parent | acf8dc0a577f8fed2d059c033f4efbd07dd95ac0 (diff) | |
download | mariadb-git-mariadb-10.10.2.tar.gz |
Merge branch '10.9' into 10.10mariadb-10.10.2
Diffstat (limited to 'mysql-test/main/bad_startup_options.test')
-rw-r--r-- | mysql-test/main/bad_startup_options.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/main/bad_startup_options.test b/mysql-test/main/bad_startup_options.test new file mode 100644 index 00000000000..bd0b6283854 --- /dev/null +++ b/mysql-test/main/bad_startup_options.test @@ -0,0 +1,19 @@ +--source include/not_embedded.inc +--source include/have_ssl_communication.inc + +--source include/shutdown_mysqld.inc + +# Try to start the server, with bad values for some options. +# Make sure, the starts fails, and expected message is in the error log + +--let errorlog=$MYSQL_TMP_DIR/errorlog.err +--let SEARCH_FILE=$errorlog + +# Bad ssl-cert +--error 1 +--exec $MYSQLD --defaults-group-suffix=.1 --defaults-file=$MYSQLTEST_VARDIR/my.cnf --ssl-cert=bad --log-error=$errorlog +--let SEARCH_PATTERN=\[ERROR\] SSL error: Unable to get certificate +--source include/search_pattern_in_file.inc +--remove_file $SEARCH_FILE + +--source include/start_mysqld.inc |