Skip Menu |

This queue is for tickets about the Test-HTML-Content CPAN distribution.

Report information
The Basics
Id: 70099
Status: resolved
Priority: 0/
Queue: Test-HTML-Content

People
Owner: Nobody in particular
Requestors: dom [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08
Fixed in: (no value)

Attachments


Subject: Tests fail with perl 5.14
As reported in <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636520> the test suite fails when run with perl 5.14: # Failed test 'Finding a link where one should be returns all other links' # at t/07-errors.link.t line 67. # STDERR is: # # Failed test 'Link failure (two links shouldn't exist do)' # # at t/07-errors.link.t line 65. # # Expected to find no <a> tag(s) matching # # href = (?^:.) # # Got # # <a href="http://www.foo.com">foo</a> # # <a href="index.html">Home</a> # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/ # # # Expected to find no <a> tag(s) matching # # # href = (?-xism:.) # # # Got # # # <a href="http://www.foo.com">foo</a> # # # <a href="index.html">Home</a> # # as expected # Failed test 'Diagnosing too few links works' # at t/07-errors.link.t line 85. # STDERR is: # # Failed test 'Link failure (too few links)' # # at t/07-errors.link.t line 84. # # Expected to find exactly 3 <a> tag(s) matching # # href = (?^:.) # # Got # # <a href="http://www.foo.com">foo</a> # # <a href="index.html">Home</a> # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/ # # # Expected to find exactly 3 <a> tag(s) matching # # # href = (?-xism:.) # # # Got # # # <a href="http://www.foo.com">foo</a> # # # <a href="index.html">Home</a> # # as expected # Failed test 'Diagnosing too many links works' # at t/07-errors.link.t line 107. # STDERR is: # # Failed test 'Link failure (too many links)' # # at t/07-errors.link.t line 106. # # Expected to find exactly 3 <a> tag(s) matching # # href = (?^:.) # # Got # # <a href="http://www.bar.com">bar</a> # # <a href="http://www.dot.com">.</a> # # <a href="http://www.foo.com">foo</a> # # <a href="index.html">Home</a> # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/ # # # Expected to find exactly 3 <a> tag(s) matching # # # href = (?-xism:.) # # # Got # # # <a href="http://www.bar.com">bar</a> # # # <a href="http://www.dot.com">.</a> # # # <a href="http://www.foo.com">foo</a> # # # <a href="index.html">Home</a> # # as expected # Failed test 'Finding a link where one should be returns all other links' # at t/07-errors.link.t line 67. # STDERR is: # # Failed test 'Link failure (two links shouldn't exist do)' # # at t/07-errors.link.t line 65. # # Expected to find no <a> tag(s) matching # # href = (?^:.) # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/ # # # Expected to find no <a> tag(s) matching # # # href = (?-xism:.) # # # Got # # # <a href='http://www.foo.com'> # # # <a href='index.html'> # # as expected # Failed test 'Diagnosing too few links works' # at t/07-errors.link.t line 85. # STDERR is: # # Failed test 'Link failure (too few links)' # # at t/07-errors.link.t line 84. # # Expected to find exactly 3 <a> tag(s) matching # # href = (?^:.) # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/ # # # Expected to find exactly 3 <a> tag(s) matching # # # href = (?-xism:.) # # # Got # # # <a href='http://www.foo.com'> # # # <a href='index.html'> # # as expected # Failed test 'Diagnosing too many links works' # at t/07-errors.link.t line 107. # STDERR is: # # Failed test 'Link failure (too many links)' # # at t/07-errors.link.t line 106. # # Expected to find exactly 3 <a> tag(s) matching # # href = (?^:.) # # Got # # <a href='http://www.bar.com'> # # <a href='http://www.dot.com'> # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/ # # # Expected to find exactly 3 <a> tag(s) matching # # # href = (?-xism:.) # # # Got # # # <a href='http://www.bar.com'> # # # <a href='http://www.dot.com'> # # # <a href='http://www.foo.com'> # # # <a href='index.html'> # # as expected t/07-errors.link.t .............................. Failed 6/11 subtests # Failed test 'Finding a comment where none should be returns all comments' # at t/08-errors.comment.t line 55. # STDERR is: # # Failed test 'Comment failure (two comments that shouldn't exist do)' # # at t/08-errors.comment.t line 53. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected no comment like '(?^:hidden m.ssage)' # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/ # # # Saw '<!-- hidden massage -->' # # # Saw '<!-- hidden massage -->' # # # Expected no comment like '(?-xism:hidden m.ssage)' # # as expected # Failed test 'Diagnosing too few comments works' # at t/08-errors.comment.t line 68. # STDERR is: # # Failed test 'Comment failure (too few comments)' # # at t/08-errors.comment.t line 66. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 3 comments like '(?^:hidden m.ssage)' # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/ # # # Saw '<!-- hidden massage -->' # # # Saw '<!-- hidden massage -->' # # # Expected exactly 3 comments like '(?-xism:hidden m.ssage)' # # as expected # Failed test 'Diagnosing too many comments works' # at t/08-errors.comment.t line 81. # STDERR is: # # Failed test 'Comment failure (too few comments)' # # at t/08-errors.comment.t line 79. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 1 comments like '(?^:hidden m.ssage)' # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/ # # # Saw '<!-- hidden massage -->' # # # Saw '<!-- hidden massage -->' # # # Expected exactly 1 comments like '(?-xism:hidden m.ssage)' # # as expected # Failed test 'Finding a comment where none should be returns all comments' # at t/08-errors.comment.t line 55. # STDERR is: # # Failed test 'Comment failure (two comments that shouldn't exist do)' # # at t/08-errors.comment.t line 53. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected no comment like '(?^:hidden m.ssage)' # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/ # # # Saw '<!-- hidden massage -->' # # # Saw '<!-- hidden massage -->' # # # Expected no comment like '(?-xism:hidden m.ssage)' # # as expected # Failed test 'Diagnosing too few comments works' # at t/08-errors.comment.t line 68. # STDERR is: # # Failed test 'Comment failure (too few comments)' # # at t/08-errors.comment.t line 66. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 3 comments like '(?^:hidden m.ssage)' # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/ # # # Saw '<!-- hidden massage -->' # # # Saw '<!-- hidden massage -->' # # # Expected exactly 3 comments like '(?-xism:hidden m.ssage)' # # as expected # Failed test 'Diagnosing too many comments works' # at t/08-errors.comment.t line 81. # STDERR is: # # Failed test 'Comment failure (too few comments)' # # at t/08-errors.comment.t line 79. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 1 comments like '(?^:hidden m.ssage)' # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/ # # # Saw '<!-- hidden massage -->' # # # Saw '<!-- hidden massage -->' # # # Expected exactly 1 comments like '(?-xism:hidden m.ssage)' # # as expected t/08-errors.comment.t ........................... Failed 6/11 subtests
Patch (thanks gregor herrmann) attached.
Subject: perl-5.14-stringification
Download perl-5.14-stringification
application/octet-stream 4.1k

Message body not shown because it is not plain text.

Thanks for sending the patch! I've applied it and released v0.09