mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-19 08:56:34 +00:00
Clean up the new test.
This commit is contained in:
@@ -24,8 +24,6 @@ my $output;
|
|||||||
# Basic filter
|
# Basic filter
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$output = output(
|
$output = output(
|
||||||
sub { pt_kill::main(@args, "$sample/recset010.txt",
|
sub { pt_kill::main(@args, "$sample/recset010.txt",
|
||||||
'--filter', "$filter/filter002.txt",
|
'--filter', "$filter/filter002.txt",
|
||||||
@@ -33,10 +31,6 @@ $output = output(
|
|||||||
qw(--victims all --print)); }
|
qw(--victims all --print)); }
|
||||||
);
|
);
|
||||||
|
|
||||||
print "sample [$sample/recset010.txt]\n";
|
|
||||||
print "filter [$filter/filter002.txt]\n";
|
|
||||||
print "[$output]\n";
|
|
||||||
|
|
||||||
ok(
|
ok(
|
||||||
$output =~ /foo/m && $output !~ /bar/s,
|
$output =~ /foo/m && $output !~ /bar/s,
|
||||||
"basic --filter function works"
|
"basic --filter function works"
|
||||||
|
Reference in New Issue
Block a user