mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Hopefully make Travis shut up now
picked a TLS 1.2 host
This commit is contained in:
parent
cae052cfab
commit
d4d5a61a0b
@ -9,12 +9,12 @@ use Data::Dumper;
|
|||||||
|
|
||||||
my $tests = 0;
|
my $tests = 0;
|
||||||
my $prg="./testssl.sh";
|
my $prg="./testssl.sh";
|
||||||
my $uri="dev.testssl.sh";
|
my $uri="heise.de";
|
||||||
my $out="";
|
my $out="";
|
||||||
my $html="";
|
my $html="";
|
||||||
my $debughtml="";
|
my $debughtml="";
|
||||||
my $edited_html="";
|
my $edited_html="";
|
||||||
my $check2run="--ip=one --color 0 --htmlfile tmp.html";
|
my $check2run="--ip=one --color 0 --htmlfile tmp.html";
|
||||||
|
|
||||||
die "Unable to open $prg" unless -f $prg;
|
die "Unable to open $prg" unless -f $prg;
|
||||||
|
|
||||||
@ -44,7 +44,6 @@ $edited_html =~ s/>/>/g;
|
|||||||
$edited_html =~ s/"/"/g;
|
$edited_html =~ s/"/"/g;
|
||||||
$edited_html =~ s/'/'/g;
|
$edited_html =~ s/'/'/g;
|
||||||
|
|
||||||
printf "\n%s\n", " .. comparing HTML and terminal outputs";
|
|
||||||
cmp_ok($edited_html, "eq", $out, "HTML file matches terminal output");
|
cmp_ok($edited_html, "eq", $out, "HTML file matches terminal output");
|
||||||
$tests++;
|
$tests++;
|
||||||
|
|
||||||
@ -70,7 +69,6 @@ $debughtml =~ s/ Pre-test: .*\n//g;
|
|||||||
$debughtml =~ s/.*OK: below 825 days.*\n//g;
|
$debughtml =~ s/.*OK: below 825 days.*\n//g;
|
||||||
$debughtml =~ s/.*DEBUG:.*\n//g;
|
$debughtml =~ s/.*DEBUG:.*\n//g;
|
||||||
|
|
||||||
printf "\n%s\n", " .. checking that using the --debug option doesn't affect the HTML file";
|
|
||||||
cmp_ok($debughtml, "eq", $html, "HTML file created with --debug 4 matches HTML file created without --debug");
|
cmp_ok($debughtml, "eq", $html, "HTML file created with --debug 4 matches HTML file created without --debug");
|
||||||
$tests++;
|
$tests++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user