From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/plugins/suite.pm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mysql-test/suite/plugins/suite.pm (limited to 'mysql-test/suite/plugins/suite.pm') diff --git a/mysql-test/suite/plugins/suite.pm b/mysql-test/suite/plugins/suite.pm new file mode 100644 index 00000000..9f269fdc --- /dev/null +++ b/mysql-test/suite/plugins/suite.pm @@ -0,0 +1,24 @@ +package My::Suite::Plugins; + +use My::Platform; + +@ISA = qw(My::Suite); + +if (-d '../sql' && !&::using_extern()) { + 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"); + eval { symlink $src, $dst } or ::copy $src, $dst; +} + +sub skip_combinations { + my %skip; + $skip{'t/pam_init.inc'} = 'No pam setup for mtr' + unless -e '/etc/pam.d/mariadb_mtr'; + $skip{'t/pam_init.inc'} = 'Not run as user owning auth_pam_tool_dir' + unless -o $::plugindir . '/auth_pam_tool_dir'; + %skip; +} + +bless { }; + -- cgit v1.2.3