[Maria-developers] bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (knielsen:2737)
26 Sep
2009
26 Sep
'09
4:26 a.m.
#At lp:maria 2737 knielsen@knielsen-hq.org 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");
5522
Age (days ago)
5522
Last active (days ago)
0 comments
1 participants
participants (1)
-
knielsen@knielsen-hq.org