mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-16 01:00:38 +08:00
Pass file to OptionParser->new() in tests so OptionParser::get_vars() works.
This commit is contained in:
@@ -44,7 +44,10 @@ elsif ( $db_flavor !~ /XtraDB Cluster/ ) {
|
||||
plan skip_all => "PXC-only test";
|
||||
}
|
||||
|
||||
my $o = new OptionParser(description => 'Cxn');
|
||||
my $o = new OptionParser(
|
||||
description => 'Cxn',
|
||||
file => "$trunk/bin/pt-table-checksum",
|
||||
);
|
||||
$o->get_specs("$trunk/bin/pt-table-checksum");
|
||||
$o->get_opts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user