aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/socket/gethostbyaddr_spec.rb')
-rw-r--r--spec/ruby/library/socket/socket/gethostbyaddr_spec.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb b/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb
index cad6ed2dd0..b5f5942668 100644
--- a/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb
+++ b/spec/ruby/library/socket/socket/gethostbyaddr_spec.rb
@@ -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