mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-29 01:21:37 +00:00
3.0.5 Testing
This commit is contained in:
@@ -89,7 +89,7 @@ SKIP: {
|
||||
"Executed zombie command"
|
||||
);
|
||||
|
||||
$output = `ps x | grep Z | grep -v grep`;
|
||||
$output = `ps x | grep Z | grep -v grep | grep -v VNote`;
|
||||
is(
|
||||
$output,
|
||||
"",
|
||||
@@ -102,7 +102,7 @@ SKIP: {
|
||||
!-f $pid_file,
|
||||
"pt-kill stopped"
|
||||
);
|
||||
$output = `ps x | grep Z | grep -v grep`;
|
||||
$output = `ps x | grep Z | grep -v grep | grep -v VNote`;
|
||||
is(
|
||||
$output,
|
||||
"",
|
||||
|
@@ -42,7 +42,7 @@ ok(
|
||||
my @files = glob("$dir/*");
|
||||
my $n_files = scalar @files;
|
||||
ok(
|
||||
$n_files == 15 || $n_files == 14,
|
||||
$n_files >= 15 && $n_files <= 16,
|
||||
"And leaves all files in there"
|
||||
) or diag($n_files, `ls -l $dir`);
|
||||
|
||||
|
@@ -66,7 +66,9 @@ my $modes_host2 = new SqlModes($dbh2, global=>1);
|
||||
$modes_host1->del('STRICT_TRANS_TABLES');
|
||||
$modes_host2->del('STRICT_TRANS_TABLES');
|
||||
|
||||
while ( my $sampleno = readdir $dh ) {
|
||||
my @dirs = sort readdir($dh);
|
||||
|
||||
foreach my $sampleno (@dirs) {
|
||||
next unless $sampleno =~ m/^\d+$/;
|
||||
|
||||
my $conf = "$samples_dir/$sampleno/conf";
|
||||
|
Reference in New Issue
Block a user