From 4bc0a5ccba94bc30154be06a7d0e81f3617a68c4 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 28 Nov 2025 16:26:25 +0100 Subject: [PATCH] Change back to google.com, avoid 0-RTT for Mac ... as we can't make it to get proper results unless on the laptop --- t/10_baseline_ipv4_http.t | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/t/10_baseline_ipv4_http.t b/t/10_baseline_ipv4_http.t index 4a25428..6d658b8 100755 --- a/t/10_baseline_ipv4_http.t +++ b/t/10_baseline_ipv4_http.t @@ -25,6 +25,7 @@ my $json_string=""; my $socket_errors='(e|E)rror|FIXME|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found'; 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")'; +my $os="$^O"; # useful against "failed to flush stdout" messages STDOUT->autoflush(1); @@ -54,10 +55,13 @@ $tests++; unlink $json_file; #3 -$uri="testssl.net"; -$terminal_out = `$prg --ssl-native $check2run $json_file $uri 2>&1`; -$json_string = json($json_file); -unlike($terminal_out, qr/$openssl_errors/, "via (builtin) OpenSSL, checking terminal output"); +if ( $os eq "linux" ){ + $terminal_out = `$prg --ssl-native $check2run $json_file $uri 2>&1`; + $json_string = json($json_file); + unlike($terminal_out, qr/$openssl_errors/, "via (builtin) OpenSSL, checking terminal output"); +} elsif ( $os eq "darwin" ){ + printf "%s\n", "skipping test. The result of the check under MacOS is not understood" ; +} $tests++; #4