mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Special case for Solaris 11x on RubyCI
* Where localhost is an alias but not the primary name of 127.0.0.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4dc1c725f8
commit
17d20383ef
1 changed files with 5 additions and 2 deletions
|
@ -18,8 +18,11 @@ describe 'Socket.gethostbyaddr' do
|
|||
@array = Socket.gethostbyaddr(@addr)
|
||||
end
|
||||
|
||||
it 'includes the hostname as the first value' do
|
||||
@array[0].should == SocketSpecs.hostname_reverse_lookup
|
||||
# RubyCI Solaris 11x defines 127.0.0.1 as unstable11x
|
||||
platform_is_not :"solaris2.11" do
|
||||
it 'includes the hostname as the first value' do
|
||||
@array[0].should == SocketSpecs.hostname_reverse_lookup
|
||||
end
|
||||
end
|
||||
|
||||
it 'includes the aliases as the 2nd value' do
|
||||
|
|
Loading…
Reference in a new issue