mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-16 00:03:02 +00:00
clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression
This commit is contained in:
@@ -25,7 +25,7 @@ local $ENV{PTDEBUG} = "";
|
||||
|
||||
my $dir = tempdir( CLEANUP => 1 );
|
||||
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir`;
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir -- -P12345 -umsandbox -pmsandbox`;
|
||||
|
||||
ok(
|
||||
-e $dir,
|
||||
@@ -40,7 +40,9 @@ is(
|
||||
"And leaves all files in there"
|
||||
);
|
||||
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir`;
|
||||
`rm -rf "$dir/"*`;
|
||||
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir -- -P12345 -umsandbox -pmsandbox`;
|
||||
|
||||
open my $fh, "<", "$dir/mysql-variables" or die "Can't open file: $!";
|
||||
my $data = do { local $/; <$fh> };
|
||||
@@ -57,7 +59,7 @@ undef($dir);
|
||||
# --databases
|
||||
#
|
||||
|
||||
my $out = `$trunk/bin/$tool --sleep 1 --databases mysql 2>/dev/null`;
|
||||
my $out = `$trunk/bin/$tool --sleep 1 --databases mysql -- -P12345 -umsandbox -pmsandbox 2>/dev/null`;
|
||||
|
||||
like(
|
||||
$out,
|
||||
|
Reference in New Issue
Block a user