mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
Fix pt-log-player tests.
This commit is contained in:
@@ -483,6 +483,10 @@ sub no_diff {
|
||||
`sed $sed_args $tmp_file`;
|
||||
}
|
||||
}
|
||||
if ( defined(my $sort_args = $args{sort}) ) {
|
||||
`cat $tmp_file | sort $sort_args > $tmp_file-2`;
|
||||
`mv $tmp_file-2 $tmp_file`;
|
||||
}
|
||||
|
||||
# diff the outputs.
|
||||
my $retval = system("diff $tmp_file $expected_output");
|
||||
|
Reference in New Issue
Block a user