From b46fdccbd1e393a0d6b11d5bd536b78af2464670 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sat, 30 Mar 2019 11:27:22 +0100 Subject: [PATCH] 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. --- t/32_http.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/32_http.t b/t/32_http.t index 8284853..8cbfae3 100755 --- a/t/32_http.t +++ b/t/32_http.t @@ -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++;