# passed: example.com t/anyevent.t ................... ok 1 - use DNS::Unbound::AnyEvent; ok 2 - 'promise resolution' isa 'DNS::Unbound::Result' 1..2 ok # libunbound 1.13.1 # ########### Use threads? 0 # t/async.t: Waiting on usa.gov vvvvvvvvvvvvv # passed: usa.gov # t/async.t: Waiting on: example.com in-addr.arpa ip6.arpa com org # Polling # t/async.t: Done polling # t/async.t: Waiting for all queries to finish # passed: org # passed: com # passed: example.com # passed: in-addr.arpa # passed: ip6.arpa # ########### Use threads? 1 # t/async.t: Waiting on usa.gov vvvvvvvvvvvvv # passed: usa.gov # t/async.t: Waiting on: example.com in-addr.arpa ip6.arpa com org # Polling # t/async.t: Done polling # t/async.t: Waiting for all queries to finish # passed: org # passed: com # passed: ip6.arpa # passed: in-addr.arpa # passed: example.com t/async.t ...................... ok 1 - use DNS::Unbound; ok 2 - 'promise resolution' isa 'DNS::Unbound::Result' ok 3 - to_net_dns_rrs() - DEPRECATED ok 4 - poll() gives truthy when there’s something to read ok 5 - count_pending_queries() (1 finished) ok 6 - count_pending_queries() (2 finished) ok 7 - count_pending_queries() (3 finished) ok 8 - count_pending_queries() (4 finished) ok 9 - count_pending_queries() (5 finished) ok 10 - poll() gives falsy when there’s nothing to read ok 11 - 'promise resolution' isa 'DNS::Unbound::Result' ok 12 - to_net_dns_rrs() - DEPRECATED ok 13 - poll() gives truthy when there’s something to read ok 14 - count_pending_queries() (1 finished) ok 15 - count_pending_queries() (2 finished) ok 16 - count_pending_queries() (3 finished) ok 17 - count_pending_queries() (4 finished) ok 18 - count_pending_queries() (5 finished) ok 19 - poll() gives falsy when there’s nothing to read ok 20 - 'exception' isa 'DNS::Unbound::X::ResolveError' ok 21 - number ok 22 - string 1..22 ok # ########### Use threads? 0 # t/async_anyevent_xspromises.t: Waiting on usa.gov vvvvvvvvvvvvv # passed: usa.gov # t/async_anyevent_xspromises.t: Waiting on: example.com in-addr.arpa ip6.arpa com org # passed: com # passed: org # passed: ip6.arpa # passed: example.com # passed: in-addr.arpa # ########### Use threads? 1 # t/async_anyevent_xspromises.t: Waiting on usa.gov vvvvvvvvvvvvv # passed: usa.gov # t/async_anyevent_xspromises.t: Waiting on: example.com in-addr.arpa ip6.arpa com org # passed: com # passed: org # passed: example.com # passed: in-addr.arpa # passed: ip6.arpa Freeing DNS::Unbound context at global destruction; memory leak likely! during global destruction. t/async_anyevent_xspromises.t .. ok 1 - use DNS::Unbound; ok 2 - 'promise resolution' isa 'DNS::Unbound::Result' ok 3 - 'promise resolution' isa 'DNS::Unbound::Result' 1..3 ok t/async_loaded_runtime.t ....... ok 1 - cancel() succeeds if AsyncQuery is loaded at compile time. 1..1 ok # libunbound 1.13.1 # ########### Use threads? 0 # t/async_promise_xs.t: Waiting on usa.gov: vvvvvvvvvvvvv # passed: usa.gov # t/async_promise_xs.t: Waiting on: example.com in-addr.arpa ip6.arpa com org # wait()ing … # passed: com # passed: in-addr.arpa # passed: example.com # passed: ip6.arpa # passed: org # ########### Use threads? 1 # t/async_promise_xs.t: Waiting on usa.gov: vvvvvvvvvvvvv # passed: usa.gov # t/async_promise_xs.t: Waiting on: example.com in-addr.arpa ip6.arpa com org # wait()ing … # passed: com # passed: in-addr.arpa # passed: ip6.arpa # passed: org # passed: example.com t/async_promise_xs.t ........... ok 1 - use DNS::Unbound; ok 2 - 'promise resolution' isa 'DNS::Unbound::Result' ok 3 - 'promise resolution' isa 'DNS::Unbound::Result' 1..3 ok t/asyncquery.t ................. ok 1 - 'new() return' isa 'Promise::ES6' ok 2 - cancel(): $CANCEL_CR coderef called as expected ok 3 - _set_dns() and _get_dns() 1..3 ok t/convenience.t ................ ok 1 - decode_name (object method) ok 2 - decode_name (static function) ok 3 - decode_character_strings (object method) ok 4 - decode_character_strings (static function) 1..4 ok t/debuglevel.t ................. ok 1 - use DNS::Unbound; ok 2 - debugout() and debuglevel() (714) ok 3 - output is as expected 1..3 ok t/debugout_badfd.t ............. ok 1 - use DNS::Unbound; ok 2 - error when bad FD given to debugout() ok 3 - “error” as num ok 4 - “error” as string ok 5 - “fd” 1..5 ok # 1.13.1 t/debugout_bug.t ............... ok 1 - use DNS::Unbound; ok 2 - repeat create/destroy of contexts w/ debugout does not close debugout file descriptor 1..2 ok # Unbound 1.13.1 t/debugout_no_fd_leak.t ........ ok 1 - debugout() to temp FH and STDOUT doesn’t leak ok 2 - debugout() gets cleaned up with ub ctx 1..2 ok t/hosts.t ...................... ok 1 - use DNS::Unbound; ok 2 - error when hosts() path doesn’t exist ok 3 - query returns as expected 1..3 ok # passed: DNS::Unbound::Result=HASH(0x555ad2a760b0) t/ioasync.t .................... ok 1 - use DNS::Unbound::IOAsync; ok 2 - 'promise resolution' isa 'DNS::Unbound::Result' 1..2 ok # Unbound version: 1.13.1 # Net::DNS::Packet version: 1865 t/load.t ....................... ok 1 - use DNS::Unbound; ok 2 ok 3 - 'resolve() response' isa 'DNS::Unbound::Result' ok 4 - rcode() ok 5 - {rcode} ok 6 - !secure() ok 7 - !{secure} ok 8 - !bogus() ok 9 - !{bogus} ok 10 - why_bogus() ok 11 - {why_bogus} ok 12 - canonname() ok 13 - {canonname} ok 14 - data() and {data} ok 15 - qtype() ok 16 - {qtype} ok 17 - qclass() ok 18 - {qclass} ok 19 - qname() ok 20 - {qname} ok 21 - havedata() ok 22 - {havedata} ok 23 - !nxdomain() ok 24 - !{nxdomain} ok 25 - 'parse answer_packet() result' isa 'Net::DNS::RR::NS' ok 26 - ttl() match ok 27 - {ttl} match ok 28 - class() match ok 29 - type() match ok 30 - owner() match ok 31 - owner() ({qname}) match ok 32 - nsdname() match 1..32 ok # Using Mojolicious 9.25 # passed: DNS::Unbound::Result=HASH(0x55595027df58) t/mojo.t ....................... ok 1 - use DNS::Unbound::Mojo; ok 2 - resolve_p() alias ok 3 - 'promise resolution' isa 'DNS::Unbound::Result' 1..3 ok t/option.t ..................... ok 1 - set_option() returns the object ok 2 - … and get_option() returns what was just set ok 3 - … and it wasn’t just a default setting ok 4 - set_option(): handling of unrecognized argument ok 5 - error message ok 6 - set_option(): handling of unrecognized argument ok 7 - error message 1..7 ok t/parallel.t ................... skipped: Not running author tests t/resolvconf.t ................. skipped: Not running author tests t/resolvconf_unpriv.t .......... ok 1 - no arg given ok 2 - error thrown 1..2 ok t/resolve_error.t .............. ok 1 - 'exception' isa 'DNS::Unbound::X::ResolveError' ok 2 - number() ok 3 - string() ok 4 - get_message() 1..4 ok t/trust.t ...................... ok 1 - trustedkeys after finalization ok 2 - trustedkeys: error thrown ok 3 - add_ta_file after finalization ok 4 - add_ta_file: error thrown ok 5 - add_ta() after finalization ok 6 - add_ta: error thrown 1..6 ok All tests successful. Files=21, Tests=109, 8 wallclock secs ( 0.10 usr 0.02 sys + 1.90 cusr 0.47 csys = 2.49 CPU) Result: PASS