From faa190354eaa6b47890e6ffb0d951bb339e2985f Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Wed, 23 Jul 2025 14:45:34 +0200 Subject: [PATCH] Pick different host + openssl * host is bahn.de * debug message said Your ./bin/openssl.Linux.x86_64 doesn't support X25519 --> use /usr/bin/openssl * skip debug msg check for Mac --- t/32_isHTML_valid.t | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/t/32_isHTML_valid.t b/t/32_isHTML_valid.t index d276322..f435857 100755 --- a/t/32_isHTML_valid.t +++ b/t/32_isHTML_valid.t @@ -10,14 +10,16 @@ use Text::Diff; my $tests = 0; my $prg="./testssl.sh"; -my $uri="web.de"; +my $uri="bahn.de"; my $out=""; my $html=""; my $debughtml=""; my $edited_html=""; my $htmlfile="tmp.html"; -my $check2run="--ip=one --sneaky --ids-friendly --color 0 --htmlfile $htmlfile"; +# need to avoid the debug message around L15190++ Your ./bin/openssl.Linux.x86_64 doesn't support X25519 : +my $check2run="--ip=one --openssl /usr/bin/openssl --sneaky --ids-friendly --color 0 --htmlfile $htmlfile"; my $diff=""; + die "Unable to open $prg" unless -f $prg; printf "\n%s\n", "Doing HTML output checks"; @@ -54,6 +56,13 @@ ok($edited_html eq $out, "Checking if HTML file matches terminal output") or $tests++; +if ( $^O eq "darwin" ){ + printf "\nskip debug checkon MacOS\n\n"; + done_testing($tests); + exit 0; +} + + #2 printf "%s\n", " .. running again $prg against \"$uri\", now with --debug 4 to create HTML output (may take another ~2 minutes)"; # Redirect stderr to /dev/null in order to avoid some unexplained "date: invalid date" error messages