1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Do not lengthen UNIX socket path

* spec/ruby/library/socket/unixsocket/recvfrom_spec.rb: do not
  lengthen UNIX socket path, which is very stricted.
This commit is contained in:
Nobuyoshi Nakada 2019-06-23 23:10:16 +09:00
parent bdcfba547d
commit 50b2807a7c
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -67,7 +67,7 @@ with_feature :unix_socket do
describe 'using a UNIX socket constructed using UNIXSocket.for_fd' do
before do
@path1 = SocketSpecs.socket_path
@path2 = SocketSpecs.socket_path + '2'
@path2 = SocketSpecs.socket_path.chop + '2'
rm_r(@path2)
@client_raw = Socket.new(:UNIX, :DGRAM)