Skip to content

Commit faa1903

Browse files
committed
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
1 parent b7584ea commit faa1903

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

t/32_isHTML_valid.t

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ use Text::Diff;
1010

1111
my $tests = 0;
1212
my $prg="./testssl.sh";
13-
my $uri="web.de";
13+
my $uri="bahn.de";
1414
my $out="";
1515
my $html="";
1616
my $debughtml="";
1717
my $edited_html="";
1818
my $htmlfile="tmp.html";
19-
my $check2run="--ip=one --sneaky --ids-friendly --color 0 --htmlfile $htmlfile";
19+
# need to avoid the debug message around L15190++ Your ./bin/openssl.Linux.x86_64 doesn't support X25519 :
20+
my $check2run="--ip=one --openssl /usr/bin/openssl --sneaky --ids-friendly --color 0 --htmlfile $htmlfile";
2021
my $diff="";
22+
2123
die "Unable to open $prg" unless -f $prg;
2224

2325
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
5456
$tests++;
5557

5658

59+
if ( $^O eq "darwin" ){
60+
printf "\nskip debug checkon MacOS\n\n";
61+
done_testing($tests);
62+
exit 0;
63+
}
64+
65+
5766
#2
5867
printf "%s\n", " .. running again $prg against \"$uri\", now with --debug 4 to create HTML output (may take another ~2 minutes)";
5968
# Redirect stderr to /dev/null in order to avoid some unexplained "date: invalid date" error messages

0 commit comments

Comments
 (0)