Subject: | Test cases fail on newer debian/ubuntu systems |
On debian 10 and ubuntu 18.04 I see the following tests fail:
...
not ok 100
# Test 100 got: "%PDF-1.4\n%" (test.pl at line 355)
# Expected: "(?^:^\\%PDF\\-1\\.3)"
# test.pl line 355 is: ok(substr($pdf->to_string(),0,10), qr/^\Q%PDF-1.3\E/ );
...
not ok 118
# Test 118 got: "<!DOCTYPE html>\n<HTML>\n<HEAD>\n<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; CHARSET=iso-8859-1" (test.pl at line 419)
# Expected: "(?^:\\<\\!DOCTYPE\\ HTML\\ PUBLIC\\ \\\"\\-\\/\\/W3C\\/\\/DTD\\ HTML\\ 4\\.0\\ Transitional\\/\\/EN\\\")"
# test.pl line 419 is: ok(substr($pdf->to_string(),0,100), qr|\Q<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"\E| );
...
not ok 121
# Test 121 got: "%PDF-1.4\n%" (test.pl at line 429)
# Expected: "(?^:^\\%PDF\\-1\\.3)"
# test.pl line 429 is: ok(substr($pdf->to_string(),0,10), qr/^\Q%PDF-1.3\E/ );
...
(However, for some reason this is not detected as a fail for CPAN Testers:
...
CPAN::Reporter: Test result is 'pass', 'make test' no errors.
...
)