1. Shlomi Fish
  2. perl-IO-Socket-INET6
  3. Issues
Issue #1 new

tests cleanup

created an issue

original bug [which sort of lead to this, but appears to be mostly fixed in > 2.55]:


[root@localhost IO-Socket-INET6-2.69]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/blocking.t .......... 1/2 Can't call method "blocking" on an undefined value at t/blocking.t line 51.

Looks like you planned 2 tests but ran 1.

Looks like your test exited with 101 just after 1.


Test Summary Report

t/blocking.t (Wstat: 25856 Tests: 1 Failed: 0) Non-zero exit status: 101 Parse errors: Bad plan. You planned 2 tests but ran 1. t/host6.t (Wstat: 0 Tests: 1 Failed: 0) Parse errors: Bad plan. You planned 4 tests but ran 1. t/io_multihomed6.t (Wstat: 25344 Tests: 1 Failed: 0) Non-zero exit status: 99 Parse errors: Bad plan. You planned 8 tests but ran 1. t/io_sock6.t (Wstat: 25344 Tests: 11 Failed: 1) Failed test: 10 Non-zero exit status: 99 Parse errors: Bad plan. You planned 20 tests but ran 11. t/listen_port_only.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=9, Tests=23, 36 wallclock secs ( 0.05 usr 0.16 sys + 0.32 cusr 0.16 csys = 0.69 CPU) Result: FAIL Failed 5/9 test programs. 2/23 subtests failed. make: *** [test_dynamic] Error 255

It seems like RHEL allows for the ipv6 driver to be enabled as sort of a ghost driver. Even with disabling it, it sort of sticks in memory, but without an v6 address and there doesn't seem to be a great way of completely disabling it.

this isnt' really a show stopper, but could be cleaner and less confusing.

keep up the good work!

Comments (2)

  1. Shlomi Fish repo owner

    Wes: please use http://rt.cpan.org/ instead of this bug tracker to report bugs in the future. I should also note that the formatting of the bug report is all wrong - next time please preview it. Moreover, I don't know how to help you. The tests are there for a reason, and you should make sure that they pass and if not, try to fix them. I can try setting up a CentOS VM, but Fdora's/RHEL's perl has a bad reputation, and it may affect the stuff here too.

    Finally, you should check out IO-Socket-IP instead of IP-Socket-INET6 which aims to be more modern. See:



    -- Shlomi Fish

  2. Log in to comment