Actions
Bug #13491
closedMinGW 58400 - TestSocket_BasicSocket#test_read_write_nonblock
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-04-21 trunk 58426) [x64-mingw32]
Description
The test TestSocket_BasicSocket#test_read_write_nonblock
was recently add via 58400 / c32fc82.
On a MinGW build, it fails. The following change at line 197 allows a MinGW build to pass.
case r = ssock.read_nonblock(16384, buf, exception: false)
when String
next
when nil
break
else
- flunk "unexpected read_nonblock return: #{r.inspect}"
+ flunk "unexpected read_nonblock return: #{r.inspect}" unless set_nb
end while true
See GitHub PR 1595
Actions
Like0
Like0Like0Like0Like0Like0