mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-22 01:00:09 +08:00
adds --fingerprint option for pt-kill - 1391240
This commit is contained in:
+11
-1
@@ -9,7 +9,7 @@ BEGIN {
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use English qw(-no_match_vars);
|
||||
use Test::More tests => 15;
|
||||
use Test::More tests => 16;
|
||||
|
||||
use PerconaTest;
|
||||
use Sandbox;
|
||||
@@ -137,6 +137,16 @@ like(
|
||||
"--match-all"
|
||||
);
|
||||
|
||||
# --fingerprint option
|
||||
$output = output(
|
||||
sub { pt_kill::main(@args, "$trunk/t/lib/samples/pl/recset011.txt", qw(--match-all --print --fingerprint)); }
|
||||
);
|
||||
like(
|
||||
$output,
|
||||
qr/0x69962191E64980E6/,
|
||||
'--fingerprint'
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Live tests.
|
||||
# #############################################################################
|
||||
|
||||
Reference in New Issue
Block a user