mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-19 17:04:00 +00:00
pqs: Removed tcpdump-errors, made the library always save the errors in a tempfile
This commit is contained in:
@@ -448,6 +448,7 @@ sub test_protocol_parser {
|
||||
keys %args;
|
||||
|
||||
my $file = "$trunk/$args{file}";
|
||||
my ($base_file_name) = $args{file} =~ m/([^\/]+)$/;
|
||||
my @e;
|
||||
eval {
|
||||
open my $fh, "<", $file or die "Cannot open $file: $OS_ERROR";
|
||||
@@ -463,11 +464,10 @@ sub test_protocol_parser {
|
||||
close $fh;
|
||||
};
|
||||
|
||||
my ($base_file_name) = $args{file} =~ m/([^\/]+)$/;
|
||||
is(
|
||||
$EVAL_ERROR,
|
||||
'',
|
||||
"$base_file_name: no errors"
|
||||
"$base_file_name: no perl errors"
|
||||
);
|
||||
|
||||
if ( defined $args{result} ) {
|
||||
|
Reference in New Issue
Block a user