mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 08:51:44 +00:00
ReadKeyMini: Restore STDIN flags in cooked()
This will probably resolve bug #946707: pt-sift loses STDIN after pt-diskstats
This commit is contained in:
@@ -92,6 +92,8 @@ sub test_diskstats_file {
|
||||
no_diff(
|
||||
sub {
|
||||
tie local *STDIN, TestInteractive => @commands;
|
||||
local $PerconaTest::DONT_RESTORE_STDIN =
|
||||
$PerconaTest::DONT_RESTORE_STDIN = 1;
|
||||
pt_diskstats::main(
|
||||
@options,
|
||||
'--group-by', $groupby,
|
||||
|
Reference in New Issue
Block a user