maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #01054
bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (knielsen:2737)
#At lp:maria
2737 knielsen@xxxxxxxxxxxxxxx 2009-09-26
Fix all innodb tests being disabled when running testsuite as root.
modified:
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2009-09-25 14:38:02 +0000
+++ b/mysql-test/mysql-test-run.pl 2009-09-26 02:25:56 +0000
@@ -1500,6 +1500,10 @@ sub collect_mysqld_features {
mtr_add_arg($args, "--datadir=%s", mixed_path($tmpdir));
mtr_add_arg($args, "--language=%s", $path_language);
mtr_add_arg($args, "--skip-grant-tables");
+ my $euid= $>;
+ if (!IS_WINDOWS and $euid == 0) {
+ mtr_add_arg($args, "--user=root");
+ }
mtr_add_arg($args, "--verbose");
mtr_add_arg($args, "--help");