PT-1554 Testing a fix for slave_find failing test

This commit is contained in:
Carlos Salguero
2018-05-18 22:11:00 -03:00
parent 29e8588574
commit 56460788d5
2 changed files with 4 additions and 3 deletions

View File

@@ -2518,7 +2518,7 @@ report_mysql_summary () {
local keyring_plugins="$(collect_keyring_plugins)"
local encrypted_tables=""
local encrypted_tablespaces=""
if [ ${OPT_LIST_ENCRYPTED_TABLES} == 'yes' ]; then
if [ "${OPT_LIST_ENCRYPTED_TABLES}" = 'yes' ]; then
encrypted_tables="$(collect_encrypted_tables)"
encrypted_tablespaces="$(collect_encrypted_tablespaces)"
fi

View File

@@ -109,7 +109,8 @@ like(
# Summary report format.
# #############################################################################
my $outfile = "/tmp/mk-slave-find-output.txt";
diag(`rm -rf $outfile >/dev/null`);
#diag(`rm -rf $outfile >/dev/null`);
diag(`rm -rf $outfile`);
$output = output(
sub { pt_slave_find::main(@args) },
@@ -156,7 +157,7 @@ ok(
? "t/pt-slave-find/samples/summary001.txt"
: "t/pt-slave-find/samples/summary001-5.0.txt"), cmd_output => 1, keep_output => 1),
"Summary report format",
) or die diag(">>\n$result\n<<\n");
) or die diag("\n>>$result<<\n");
# #############################################################################
# Done.