adds --fingerprint option for pt-kill - 1391240

This commit is contained in:
Frank Cizmich
2014-12-02 16:57:25 -02:00
parent 732a3fa9cc
commit 324a086d6a
2 changed files with 24 additions and 2 deletions
+11 -1
View File
@@ -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.
# #############################################################################