Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622986 - dev-perl/MARC-File-XML fails tests ( Failed test 'should have refused to parse MARCXML record containing external entitities, but did not )
Summary: dev-perl/MARC-File-XML fails tests ( Failed test 'should have refused to pars...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 647882 (view as bug list)
Depends on:
Blocks: perl-testfailure
  Show dependency tree
 
Reported: 2017-06-29 04:38 UTC by Kent Fredric (IRC: kent\n)
Modified: 2019-10-24 16:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) gentoo-dev 2017-06-29 04:38:07 UTC
The nature of this test is a bit troubling, and it might be to do with some of the magic in XML backend swapping. Need to look into it.

make -j3 test TEST_VERBOSE=0
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/batch-ns.t ........... 18/23 Use of uninitialized value in concatenation (.) or string at /var/tmp/portage/dev-perl/MARC-XML-1.0.3/work/MARC-XML-1.0.3/blib/lib/MARC/File/XML.pm line 397, <__ANONIO__> chunk 21.
t/batch-ns.t ........... ok
t/batch.t .............. 1/23 Use of uninitialized value in concatenation (.) or string at /var/tmp/portage/dev-perl/MARC-XML-1.0.3/work/MARC-XML-1.0.3/blib/lib/MARC/File/XML.pm line 397, <__ANONIO__> chunk 21.
t/batch.t .............. ok
t/empty-record.t ....... ok 
t/encode.t ............. ok 
t/error-handling.t ..... # MARCXML document has no record element at t/error-handling.t line 11.
t/error-handling.t ..... ok 
t/escape.t ............. ok  
t/external-entities.t .. 1/2
#   Failed test 'should have refused to parse MARCXML record containing external entitities, but did not'
#   at t/external-entities.t line 64.
# Looks like you failed 1 test of 2.
t/external-entities.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/namespace.t .......... ok 
t/parser.t ............. ok 
t/subfield0.t .......... ok 

Test Summary Report
-------------------
t/external-entities.t (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=10, Tests=80,  2 wallclock secs ( 0.07 usr  0.01 sys +  1.63 cusr  0.18 csys =  1.89 CPU)
Result: FAIL
Failed 1/10 test programs. 1/80 subtests failed.
Comment 1 Kent Fredric (IRC: kent\n) gentoo-dev 2018-06-10 06:51:07 UTC
*** Bug 647882 has been marked as a duplicate of this bug. ***