From a6413848153e6c37f6b0fea64e3e871460732e34 Mon Sep 17 00:00:00 2001 From: eregon Date: Mon, 27 Aug 2018 10:12:41 +0000 Subject: [PATCH] Simplify guards, the behavior seems Linux-specific git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/library/socket/socket/sysaccept_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/library/socket/socket/sysaccept_spec.rb b/spec/ruby/library/socket/socket/sysaccept_spec.rb index c7ac527c39..3832041818 100644 --- a/spec/ruby/library/socket/socket/sysaccept_spec.rb +++ b/spec/ruby/library/socket/socket/sysaccept_spec.rb @@ -12,7 +12,7 @@ describe 'Socket#sysaccept' do @server.close end - platform_is_not :aix, :freebsd, :windows, :solaris, :darwin do # hangs + platform_is :linux do # hangs on other platforms describe 'using an unbound socket' do it 'raises Errno::EINVAL' do lambda { @server.sysaccept }.should raise_error(Errno::EINVAL)