Try to remove the "failed to flush stdout" messages

This commit is contained in:
Dirk Wetter 2025-11-25 00:23:13 +01:00
parent dd696bb871
commit 5111804b75
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,8 @@ my $socket_errors='(e|E)rror|FIXME|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand
my $openssl_errors='(e|E)rror|FIXME|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
my $json_errors='(id".*:\s"scanProblem"|severity".*:\s"FATAL"|"Scan interrupted")';
# useful against "failed to flush stdout" messages
STDOUT->autoflush(1);
die "Unable to open $prg" unless -f $prg;

View File

@ -21,6 +21,9 @@ my $openssl_out="";
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
# useful against "failed to flush stdout" messages
STDOUT->autoflush(1);
# my $socket_json="";
# my $openssl_json="";
# $check2run="--jsonfile tmp.json $check2run";