libxml-raku / LibXML-raku

Raku bindings to the libxml2 native library
Artistic License 2.0
11 stars 5 forks source link

Leaked network access from test suite #32

Closed dwarring closed 4 years ago

dwarring commented 4 years ago

Noticed the following while running the test suite with the network disabled:

$ prove -e'perl6 -I .' t/26schema.t t/43options.t
t/26schema.t ... 1/16 # Failed test 'no exception'
# at t/26schema.t line 122
t/26schema.t ... 16/16 # Failed test 'no exception'
# at t/26schema.t line 131
# You failed 2 tests of 16
t/26schema.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests 
t/43options.t .. 41/330 # Failed test 'Entity from network location throw error.'
# at t/43options.t line 124
# expected a match with: /'I/O warning : failed to load HTTP resource'/
#                   got: "http error : No such file or directory\nI/O warning : failed to load external entity \"http://example.com/etc/passwd\"\n:9: parser error : Failure to process entity xxe\n:9: parser error : Entity 'xxe' not defined"
# You failed 1 test of 330

needs to be investigated.