| 1 |
package My::Suite::MariaBackup; |
| 2 |
|
| 3 |
@ISA = qw(My::Suite); |
| 4 |
use My::Find; |
| 5 |
use File::Basename; |
| 6 |
use strict; |
| 7 |
|
| 8 |
return "Not run for embedded server" if $::opt_embedded_server; |
| 9 |
|
| 10 |
return "No mariabackup" unless $ENV{XTRABACKUP}; |
| 11 |
|
| 12 |
my $have_qpress = index(`qpress 2>&1`,"Compression") > 0; |
| 13 |
|
| 14 |
sub skip_combinations { |
| 15 |
my %skip; |
| 16 |
$skip{'include/have_file_key_management.inc'} = 'needs file_key_management plugin' unless $ENV{FILE_KEY_MANAGEMENT_SO}; |
| 17 |
$skip{'compress_qpress.test'}= 'needs qpress executable in PATH' unless $have_qpress; |
| 18 |
%skip; |
| 19 |
} |
| 20 |
|
| 21 |
bless { }; |