Subject: | t/30_tree.t fails if HTML::ElementTable is installed |
On some of my smokers 30_tree.t fails:
...
Use of uninitialized value $ptag in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 341.
Use of uninitialized value $ptag in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 349.
Use of uninitialized value in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649.
Use of uninitialized value in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649.
Use of uninitialized value in hash element at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2656.
Use of uninitialized value $ptag in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 1071.
(snip)
# Failed test 'mass html comp'
# at t/30_tree.t line 53.
# got: '<html></html>'
# expected: '<html><head><title>gnarly table</title></head><body><table border=1><tr><td colspan=4 rowspan=1>(0,0) [1,4]</td><td colspan=4 rowspan=2>(0,1) [2,4]</td></tr><tr><td colspan=1 rowspan=2>(1,0) [2,1]</td><td colspan=1 rowspan=1>(1,1) [1,1]</td><td colspan=2 rowspan=1>(1,2) [1,2]</td></tr><tr><td colspan=4 rowspan=2>(2,0) [2,4]</td><td colspan=2 rowspan=2>(2,1) [2,2]</td><td colspan=1 rowspan=1>(2,2) [1,1]</td></tr><tr><td colspan=1 rowspan=1>(3,0) [1,1]</td><td colspan=1 rowspan=1>(3,1) [1,1]</td></tr><tr><td colspan=2 rowspan=3>(4,0) [3,2]</td><td colspan=1 rowspan=1>(4,1) [1,1]</td><td colspan=1 rowspan=3>(4,2) [3,1]</td><td colspan=4 rowspan=4>(4,3) [4,4]</td></tr><tr><td colspan=1 rowspan=1>(5,0) [1,1]</td></tr><tr><td colspan=1 rowspan=1>(6,0) [1,1]</td></tr><tr><td colspan=4 rowspan=1>(7,0) [1,4]</td></tr></table></body></html>'
(snip)
# Looks like you failed 1 test of 126.
t/30_tree.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/126 subtests
This seems to happen only if HTML::ElementTable is installed.