mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
LOCAL_PEERCRED is also available on MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d0454a211e
commit
2992642245
2 changed files with 2 additions and 2 deletions
|
@ -313,7 +313,7 @@ class TestUNIXSocket < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_getcred_xucred
|
||||
return if /freebsd/ !~ RUBY_PLATFORM
|
||||
return if /freebsd|darwin/ !~ RUBY_PLATFORM
|
||||
Dir.mktmpdir {|d|
|
||||
sockpath = "#{d}/sock"
|
||||
serv = Socket.unix_server_socket(sockpath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue