Make failing test better.

This commit is contained in:
Daniel Nichter
2013-10-02 11:26:11 -07:00
parent b0cacd15f4
commit ccb9ac616c

View File

@@ -277,16 +277,22 @@ SKIP: {
# https://bugs.launchpad.net/percona-toolkit/+bug/1210537 # https://bugs.launchpad.net/percona-toolkit/+bug/1210537
# ############################################################################# # #############################################################################
eval { $output = output(sub {
pt_table_checksum::main($master_dsn, pt_table_checksum::main($master_dsn,
qw(--recursion-method cluster) qw(--recursion-method cluster -t mysql.user)
), )},
}; stderr => 1,
is( );
$EVAL_ERROR, unlike(
"", $output,
qr/uninitialized value/,
"Bug 1210537: no crash with --recursion-method cluster" "Bug 1210537: no crash with --recursion-method cluster"
); );
like(
$output,
qr/mysql.user/,
"Bug 1210537: tool ran"
);
# ############################################################################# # #############################################################################
# Done. # Done.