mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cleanup: mtr and plugins
* in --parallel mode don't copy/symlinks plugins individually in each forked child's vardir, use the common parent vardir with all plugins * move pam plugin specific code from mysql-test-run.pl to suite/plugins/suite.pm
This commit is contained in:
@ -4,6 +4,13 @@ use My::Platform;
|
||||
|
||||
@ISA = qw(My::Suite);
|
||||
|
||||
if (-d '../sql') {
|
||||
my $src = "$::bindir/plugin/auth_pam/auth_pam_tool";
|
||||
my $dst = "$::plugindir/auth_pam_tool_dir/auth_pam_tool";
|
||||
::mkpath( "$::plugindir/auth_pam_tool_dir");
|
||||
symlink $src, $dst or ::copy $src, $dst;
|
||||
}
|
||||
|
||||
sub cassandra_running() {
|
||||
return 0 if IS_WINDOWS;
|
||||
system 'echo show version | cqlsh -3 2>/dev/null >/dev/null';
|
||||
|
Reference in New Issue
Block a user