mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 05:44:59 +00:00
Make failing test better.
This commit is contained in:
@@ -277,16 +277,22 @@ SKIP: {
|
||||
# https://bugs.launchpad.net/percona-toolkit/+bug/1210537
|
||||
# #############################################################################
|
||||
|
||||
eval {
|
||||
$output = output(sub {
|
||||
pt_table_checksum::main($master_dsn,
|
||||
qw(--recursion-method cluster)
|
||||
),
|
||||
};
|
||||
is(
|
||||
$EVAL_ERROR,
|
||||
"",
|
||||
qw(--recursion-method cluster -t mysql.user)
|
||||
)},
|
||||
stderr => 1,
|
||||
);
|
||||
unlike(
|
||||
$output,
|
||||
qr/uninitialized value/,
|
||||
"Bug 1210537: no crash with --recursion-method cluster"
|
||||
);
|
||||
like(
|
||||
$output,
|
||||
qr/mysql.user/,
|
||||
"Bug 1210537: tool ran"
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
|
Reference in New Issue
Block a user