Skip to content

Commit 085f12b

Browse files
committed
Disable #send_io, #recv_io
1 parent 7110672 commit 085f12b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

library/socket/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
MSpec.enable_feature :sock_packet if Socket.const_defined?(:SOCK_PACKET)
55
MSpec.enable_feature :unix_socket if Socket.const_defined?(:AF_UNIX)
6+
MSpec.enable_feature :unix_socket_advanced unless PlatformGuard.windows?
67
MSpec.enable_feature :udp_cork if Socket.const_defined?(:UDP_CORK)
78
MSpec.enable_feature :tcp_cork if Socket.const_defined?(:TCP_CORK)
89
MSpec.enable_feature :pktinfo if Socket.const_defined?(:IP_PKTINFO)

library/socket/unixsocket/recv_io_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../spec_helper'
22
require_relative '../fixtures/classes'
33

4-
with_feature :unix_socket do
4+
with_feature :unix_socket_advanced do
55
describe "UNIXSocket#recv_io" do
66
before :each do
77
@path = SocketSpecs.socket_path

library/socket/unixsocket/send_io_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require_relative '../spec_helper'
22
require_relative '../fixtures/classes'
33

4-
with_feature :unix_socket do
4+
with_feature :unix_socket_advanced do
55
describe "UNIXSocket#send_io" do
66
before :each do
77
@path = SocketSpecs.socket_path

0 commit comments

Comments
 (0)