summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-23 23:10:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-23 23:10:16 +0900
commit50b2807a7cc74dc1772496986ee2f3efef85a5db (patch)
treeae717dc21606af6a27e41a71a5cddb3156c2be29 /spec
parentbdcfba547df70d61abb8db10c32f56f9508f6da5 (diff)
Do not lengthen UNIX socket path
* spec/ruby/library/socket/unixsocket/recvfrom_spec.rb: do not lengthen UNIX socket path, which is very stricted.
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/library/socket/unixsocket/recvfrom_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb b/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
index 3e2eb69885..c0e1cf670b 100644
--- a/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
+++ b/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
@@ -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)