Subject: | t/12-infer_from_DTD.t failing with Perl 5.18 |
If I build XML-Rules with XML::DTDParser installed, I get this test failure on Perl 5.18.0 (no problems with older perls):
$ ./Build test
# Testing XML::Rules 1.16, Perl 5.018000, /usr/bin/perl
t/00-load.t ................ ok
t/01-simple_xml.t .......... ok
t/02-encoding.t ............ ok
t/03-output.t .............. ok
t/04-filter.t .............. ok
t/05-namespaces.t .......... ok
t/06-whitespace.t .......... ok
t/07-content_whitespace.t .. ok
t/08-whitespace_more.t ..... ok
t/09-whitespace_one.t ...... ok
t/10-infer.t ............... ok
t/11-namespaces-other.t .... ok
# Failed test 'rules as expected'
# at t/12-infer_from_DTD.t line 440.
# Structures begin differing at:
# $got->{ByEmail,ByFax,ByMail,ByPhone,ByWeb,Contact,DayOfWeek,FaxNumber,HiringOrg,HowToApply,InPerson,JobPositionLocation,OrganizationalUnit,PagerNumber,PostalAddress,Recipient,TTDNumber,UL,VoiceNumber} = Does not exist
# $expected->{ByEmail,ByFax,ByMail,ByPhone,ByWeb,Contact,DayOfWeek,FaxNumber,HiringOrg,HowToApply,InPerson,JobPositionLocation,OrganizationalUnit,PagerNumber,PostalAddress,Recipient,TTDNumber,UL,VoiceNumber} = 'as array no content'
# Looks like you failed 1 test of 5.
t/12-infer_from_DTD.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
t/13-filter_attributes.t ... ok
t/boilerplate.t ............ ok
t/pod-coverage.t ........... ok
t/pod.t .................... ok
Test Summary Report
-------------------
t/12-infer_from_DTD.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 1
Files=17, Tests=185, 2 wallclock secs ( 0.08 usr 0.01 sys + 1.16 cusr 0.09 csys = 1.34 CPU)
Result: FAIL
Failed 1/17 test programs. 1/185 subtests failed.
This is with Perl 5.18.0 on Fedora Linux development version.