Skip to content

Commit 5111804

Browse files
committed
Try to remove the "failed to flush stdout" messages
1 parent dd696bb commit 5111804

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

t/10_baseline_ipv4_http.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ my $socket_errors='(e|E)rror|FIXME|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand
3030
my $openssl_errors='(e|E)rror|FIXME|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
3131
my $json_errors='(id".*:\s"scanProblem"|severity".*:\s"FATAL"|"Scan interrupted")';
3232

33+
# useful against "failed to flush stdout" messages
34+
STDOUT->autoflush(1);
3335

3436
die "Unable to open $prg" unless -f $prg;
3537

t/23_client_simulation.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ my $openssl_out="";
2121
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
2222
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
2323

24+
# useful against "failed to flush stdout" messages
25+
STDOUT->autoflush(1);
26+
2427
# my $socket_json="";
2528
# my $openssl_json="";
2629
# $check2run="--jsonfile tmp.json $check2run";

0 commit comments

Comments
 (0)