mariadb/mysql-test/main/flush_logs_not_windows.test
Lena Startseva 72ba96a48e MDEV-27691: make working view-protocol
Tests with checking metadata or that cannot be run with
the view-protocol are excluded from --view-protocol.
For tests that do not allow the use of an additional connection,
the util connection is disabled with "--disable_service_connection".
Also cases with bugs for --view-protocol are disabled.
2022-09-23 17:36:20 +07:00

17 lines
679 B
Text

# Tests will be skipped for the view protocol because the view protocol creates
# an additional util connection and other statistics data
-- source include/no_view_protocol.inc
source include/not_windows.inc;
source include/not_embedded.inc;
#
# MDEV-17710 "unknown error" with FLUSH LOGS if log directory is not writeable
#
move_file $MYSQLTEST_VARDIR/log/mysqld.1.err $MYSQLTEST_VARDIR/log/mysqld.1.err-bak;
system chmod u-w $MYSQLTEST_VARDIR/log;
replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR;
error ER_CANT_CREATE_FILE;
flush logs;
system chmod u+w $MYSQLTEST_VARDIR/log;
move_file $MYSQLTEST_VARDIR/log/mysqld.1.err-bak $MYSQLTEST_VARDIR/log/mysqld.1.err;
flush logs;