mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-14 01:00:23 +08:00
Pass file to OptionParser->new() in tests so OptionParser::get_vars() works.
This commit is contained in:
@@ -29,7 +29,10 @@ if ( !$master_dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
|
||||
my $o = new OptionParser(description => 'Cxn', file => "$trunk/bin/pt-table-checksum");
|
||||
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