mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/ancdata.c (ancillary_unix_rights): method renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7c76900458
commit
bed4294451
3 changed files with 19 additions and 15 deletions
|
@ -53,7 +53,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
|
|||
recv_io_ary = []
|
||||
ctls.each {|ctl|
|
||||
next if ctl.level != Socket::SOL_SOCKET || ctl.type != Socket::SCM_RIGHTS
|
||||
recv_io_ary.concat ctl.rights
|
||||
recv_io_ary.concat ctl.unix_rights
|
||||
}
|
||||
assert_equal(send_io_ary.length, recv_io_ary.length)
|
||||
send_io_ary.length.times {|i|
|
||||
|
@ -131,7 +131,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
|
|||
assert_equal(Socket::SOL_SOCKET, ctl.level)
|
||||
assert_equal(Socket::SCM_RIGHTS, ctl.type)
|
||||
assert_instance_of(String, ctl.data)
|
||||
ios = ctl.rights
|
||||
ios = ctl.unix_rights
|
||||
assert_equal(1, ios.length)
|
||||
r2 = ios[0]
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue