mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix some test failures found during RPM package building:
- mysqlslap result file update after merge. - Fix skipping certain tests when running test suite as root, got broken somehow. mysql-test/mysql-test-run.pl: Somehow skipping tests when running as root got broken. The mysqltest if() no longer seems to accept YES as a true value, so use 1 for true value instead. mysql-test/r/mysqlslap.result: Result file update after change in engine behaviour of mysqlslap. mysql-test/t/mysqld_option_err.test: This test does not work when run as root.
This commit is contained in:
@ -2288,7 +2288,7 @@ sub check_running_as_root () {
|
||||
{
|
||||
mtr_warning("running this script as _root_ will cause some " .
|
||||
"tests to be skipped");
|
||||
$ENV{'MYSQL_TEST_ROOT'}= "YES";
|
||||
$ENV{'MYSQL_TEST_ROOT'}= "1";
|
||||
}
|
||||
|
||||
chmod(oct("0755"), $test_file);
|
||||
|
Reference in New Issue
Block a user