mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-11 01:01:36 +08:00
Change mk_tool::main() to pt_tool::main() in all tests.
This commit is contained in:
@@ -40,7 +40,7 @@ diag(`/tmp/12345/use -u root -e "GRANT USAGE ON *.* TO 'bob'\@'localhost'"`);
|
||||
diag(`/tmp/12345/use -u root -e "GRANT USAGE ON *.* TO 'bob'\@'192.168.1.1'"`);
|
||||
|
||||
$output = output(
|
||||
sub { mk_show_grants::main('-F', $cnf, qw(--only bob --no-header)); }
|
||||
sub { pt_show_grants::main('-F', $cnf, qw(--only bob --no-header)); }
|
||||
);
|
||||
is(
|
||||
$output,
|
||||
@@ -55,7 +55,7 @@ GRANT USAGE ON *.* TO 'bob'\@'localhost';
|
||||
);
|
||||
|
||||
$output = output(
|
||||
sub { mk_show_grants::main('-F', $cnf, qw(--only bob@192.168.1.1 --no-header)); }
|
||||
sub { pt_show_grants::main('-F', $cnf, qw(--only bob@192.168.1.1 --no-header)); }
|
||||
);
|
||||
is(
|
||||
$output,
|
||||
|
||||
Reference in New Issue
Block a user