mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 12:58:45 +00:00
Combine and change all pt-diskstats test to new format. Use generic .t for bash tools. Number tests in each test file and use as default test name.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/evn perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
BEGIN {
|
||||
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"
|
||||
@@ -12,6 +12,8 @@ use English qw(-no_match_vars);
|
||||
|
||||
use PerconaTest;
|
||||
|
||||
system("$trunk/util/test-bash-tool pt-pmp @ARGV");
|
||||
my ($tool) = $PROGRAM_NAME =~ m/([\w-]+)\.t$/;
|
||||
push @ARGV, "$trunk/t/$tool/*.sh" unless @ARGV;
|
||||
system("$trunk/util/test-bash-functions $trunk/bin/$tool @ARGV");
|
||||
|
||||
exit;
|
||||
|
Reference in New Issue
Block a user