mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-31 22:09:44 +01:00
Fix travis
.. for HTML check after introducing "Pre-tests" In ~/t/32_http.t a statement failied because the debug output has deliberately a line "Pre-test: No 128 cipher limit bug." This and ONE additional LF are now being filtered before comparing. Unclear why the other additional line introduced makes no problems.
This commit is contained in:
parent
afc4f5e4e6
commit
b46fdccbd1
@ -48,6 +48,8 @@ $debughtml =~ s/Done 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9
|
||||
$okhtml =~ s/HTTP clock skew \+?-?[0-9]* /HTTP clock skew X /;
|
||||
$debughtml =~ s/HTTP clock skew \+?-?[0-9]* /HTTP clock skew X /;
|
||||
|
||||
$debughtml =~ s/ Pre-test: .*\n//g;
|
||||
|
||||
pass("Checking that using the --debug option doesn't affect the HTML file"); $tests++;
|
||||
cmp_ok($debughtml, "eq", $okhtml, "HTML file created with --debug 4 matches HTML file created without --debug"); $tests++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user