mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 03:44:55 +00:00
Add --test-matching to replace testing via STDIN/ARGV.
This commit is contained in:
@@ -23,7 +23,7 @@ if ( !$master_dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
else {
|
||||
plan tests => 4;
|
||||
plan tests => 3;
|
||||
}
|
||||
|
||||
my $output;
|
||||
@@ -72,16 +72,6 @@ like(
|
||||
'--verbose'
|
||||
);
|
||||
|
||||
# ############################################################################
|
||||
# Reading file (or STDIN) should require connection.
|
||||
# ############################################################################
|
||||
$output = `/tmp/12345/use -e "SHOW PROCESSLIST" | $trunk/bin/pt-kill -F $cnf --busy-time 1 --print --verbose`;
|
||||
like(
|
||||
$output,
|
||||
qr/Reading files -/,
|
||||
"Read STDIN from pipe"
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user