MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:February 11 2010 10:24am
Subject:bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2889) Bug#47389
View as plain text  
#At file:///home/bm136801/my/innoroot-51/ based on revid:bjorn.munch@stripped

 2889 Bjorn Munch	2010-02-11
      Bug #47389 Innodb tests are skipped when running as unix root user
      Add --user=root to collect_mysqld_features() if running as root
      Please disregard previous commit; this is much simpler.

    modified:
      mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2010-02-07 11:21:11 +0000
+++ b/mysql-test/mysql-test-run.pl	2010-02-11 10:22:07 +0000
@@ -1482,6 +1482,12 @@ sub collect_mysqld_features {
   mtr_add_arg($args, "--verbose");
   mtr_add_arg($args, "--help");
 
+  # Need --user=root if running as *nix root user
+  if (!IS_WINDOWS and $> == 0)
+  {
+    mtr_add_arg($args, "--user=root");
+  }
+
   my $exe_mysqld= find_mysqld($basedir);
   my $cmd= join(" ", $exe_mysqld, @$args);
   my $list= `$cmd`;


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20100211102207-7p573v32h0pkz3bb.bundle
Thread
bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2889) Bug#47389Bjorn Munch11 Feb