develooper Front page | perl.perl5.porters | Postings from October 2018

[perl #133604] 5.29.4 - io/socket.t reports as failing on Windows

Thread Next
From:
sisyphus
Date:
October 21, 2018 09:17
Subject:
[perl #133604] 5.29.4 - io/socket.t reports as failing on Windows
Message ID:
rt-4.0.24-5621-1540113448-1561.133604-75-0@perl.org
# New Ticket Created by  sisyphus 
# Please include the string:  [perl #133604]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133604 >


Hi,

Here's what I see wrt to socket.t when running the test suite:

io/socket.t ........................................................ 1/?
recv() isn't allowed on :utf8 handles at io/socket.t line 209.
send() isn't allowed on :utf8 handles at io/socket.t line 177.
io/socket.t ........................................................
Dubious, test returned 255 (wstat 65280, 0xff00)
All 21 subtests passed
        (less 1 skipped subtest: 20 okay)

However, the test summary regards that as a FAIL:

io/socket.t                                                      (Wstat:
65280 Tests: 21 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output

Running that test script outside of Test::Harness appears to be ok:

C:\_32\comp\perl-5.29.4>perl t/io/socket.t
ok 1 - close the socket
ok 2 - make a tcp socket
ok 3 - bind works
ok 4 - getsockname() on bound socket
# port 52996
ok 5 - listen() works
ok 6 - make accept tcp socket
ok 7 - accept() works
ok 8 # skip no fcntl
ok 9 - close server socket in child
ok 10 - make child tcp socket
ok 11 - connect() works
ok 12 - peer from recv() should be empty or the remote name
ok 13 - check we received the data
ok 14 - shutdown() works
# recv/send :utf8 tests
ok 15 - make a tcp socket (recv/send :utf8 handling)
ok 16 - bind works
ok 17 - getsockname() on bound socket
# port 52998
ok 18 - listen() works
ok 19 - make accept tcp socket
recv() isn't allowed on :utf8 handles at t/io/socket.t line 209.
ok 20 - accept() works
ok 21 - should die on send to :utf8 socket
send() isn't allowed on :utf8 handles at t/io/socket.t line 177.

This is the same on both 32-bit and 64-bit builds.

Cheers,
Rob


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About