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:
parent
bdcfba547d
commit
50b2807a7c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue