mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
spec/ruby/library/socket/addrinfo/getnameinfo_spec.rb: skip on Android
FreeBSD's GETNAMEINFO(3) says: > If a link-layer address or UNIX-domain address is passed to > getnameinfo(), its ASCII representation will be stored in host. The > string pointed to by serv will be set to the empty string if non-NULL; > flags will always be ignored. Android seems to behave like FreeBSD.
This commit is contained in:
parent
09a042ae04
commit
bbc6799334
1 changed files with 12 additions and 10 deletions
|
@ -21,6 +21,7 @@ describe 'Addrinfo#getnameinfo' do
|
|||
end
|
||||
|
||||
platform_is :linux do
|
||||
platform_is_not :android do
|
||||
with_feature :unix_socket do
|
||||
describe 'using a UNIX Addrinfo' do
|
||||
before do
|
||||
|
@ -38,3 +39,4 @@ describe 'Addrinfo#getnameinfo' do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue