mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
PT-2282 - pt-duplicate-key-checker give a "Wide character in print" warning
- Two more checks for the test case
This commit is contained in:
@@ -23,7 +23,7 @@ if ( !$dbh ) {
|
|||||||
plan skip_all => 'Cannot connect to sandbox master';
|
plan skip_all => 'Cannot connect to sandbox master';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plan tests => 3;
|
plan tests => 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $output;
|
my $output;
|
||||||
@@ -44,6 +44,18 @@ unlike(
|
|||||||
'No "Wide character in print at" error'
|
'No "Wide character in print at" error'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
like(
|
||||||
|
$output,
|
||||||
|
qr/Total Duplicate Indexes 2/,
|
||||||
|
'Number of duplicate indexes reported is correct'
|
||||||
|
);
|
||||||
|
|
||||||
|
like(
|
||||||
|
$output,
|
||||||
|
qr/Total Indexes 7/,
|
||||||
|
'Number of indexes reported is correct'
|
||||||
|
);
|
||||||
|
|
||||||
like(
|
like(
|
||||||
$output,
|
$output,
|
||||||
qr/赛程类型/,
|
qr/赛程类型/,
|
||||||
|
Reference in New Issue
Block a user