summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-27 10:12:41 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-27 10:12:41 +0000
commita6413848153e6c37f6b0fea64e3e871460732e34 (patch)
treef7b93f279e3309c9cc74fc906d5dba74b72bc22b
parent73c8b1ea296ca9631f684609d62e908fd5f5d10c (diff)
Simplify guards, the behavior seems Linux-specific
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--spec/ruby/library/socket/socket/sysaccept_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/socket/sysaccept_spec.rb b/spec/ruby/library/socket/socket/sysaccept_spec.rb
index c7ac527c..3832041 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)