diff options
author | Igor Babaev <igor@askmonty.org> | 2009-11-11 20:31:28 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2009-11-11 20:31:28 -0800 |
commit | e4e1ae0d13da399d53bd91df791b149f3eae796b (patch) | |
tree | 850b7b3404210b6bad604ad33b5c9a7437253dbe /mysql-test/mysql-test-run.pl | |
parent | 99d8d4402080270289f00465309c7c40c2e5d566 (diff) | |
parent | d749c7e60061fd328e95f74d2d77fc59312da3b1 (diff) | |
download | mariadb-git-e4e1ae0d13da399d53bd91df791b149f3eae796b.tar.gz |
Merge of the patch introducing virtual columns into maria-5.2
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 832778aeade..526077a7de1 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -127,7 +127,6 @@ my $path_config_file; # The generated config file, var/my.cnf our $opt_vs_config = $ENV{'MTR_VS_CONFIG'}; my $DEFAULT_SUITES= "binlog,federated,main,maria,rpl,innodb,parts"; -my $opt_suites; our $opt_usage; our $opt_list_options; @@ -1001,6 +1000,12 @@ sub command_line_setup { { $basedir= dirname($basedir); } + # For .deb, it's like RPM, but installed in /usr/share/mysql/mysql-test. + # So move up one more directory level yet. + if ( ! $source_dist and ! -d "$basedir/bin" ) + { + $basedir= dirname($basedir); + } # Look for the client binaries directory if ($path_client_bindir) |