[MacPorts] #51327: perl5.22: failed test dist/IO/t/cachepropagate-unix

MacPorts noreply at macports.org
Tue May 17 01:07:30 PDT 2016


#51327: perl5.22: failed test dist/IO/t/cachepropagate-unix
-----------------------+---------------------
  Reporter:  mojca@…   |      Owner:  mojca@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  perl5.22  |
-----------------------+---------------------

Comment (by mojca@…):

 Quoting Tony from the upstream ticket:

 This test passes successfully on both 10.10.5 and 10.11.4 with a default
 build of blead perl (5.24 + unrelated changes).
 {{{
 pallas:t tony$ ./perl harness -v ../dist/IO/t/cachepropagate-unix.t
 ../dist/IO/t/cachepropagate-unix.t ..
 1..15
 ok 1 - stream socket created
 ok 2 - protocol defined
 ok 3 - domain defined
 ok 4 - type defined
 ok 5 - spawned a child
 ok 6 - domain match
 ok 7 # skip no Socket::SO_PROTOCOL
 ok 8 - type match
 ok 9 - datagram socket created
 ok 10 - protocol defined
 ok 11 - domain defined
 ok 12 - type defined
 ok 13 - domain match
 ok 14 # skip no Socket::SO_PROTOCOL
 ok 15 - type match
 ok
 All tests successful.
 Files=1, Tests=15,  1 wallclock secs ( 0.01 usr  0.00 sys +  0.08 cusr
 0.01 csys =  0.10 CPU)
 Result: PASS
 }}}
 (not using MacPorts)

 5.22.2 also passes.

 I don't have 10.7 to test against.

 Since I can't reproduce it here, you might try adding some diagnostic
 code, the code that's failing is:
 {{{
     # now test datagram sockets:
     $listener = IO::Socket::UNIX->new(Type => SOCK_DGRAM,
                                       Local => $socketpath);
     ok(defined($listener), 'datagram socket created');
 }}}
 you might try changing that to:
 {{{
     # now test datagram sockets:
     $listener = IO::Socket::UNIX->new(Type => SOCK_DGRAM,
                                       Local => $socketpath)
       or diag "datagram socket: $!";
     ok(defined($listener), 'datagram socket created');
 }}}
 and see if you get a useful diagnostic.

 To test just the single test file:

 {{{
   ./Configure ... your flags here ...
   make test TEST_ARGS=-v TEST_FILES=../dist/IO/t/cachepropagate-unix.t
 }}}

 Tony

-- 
Ticket URL: <https://trac.macports.org/ticket/51327#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list