1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Simplify guards, the behavior seems Linux-specific

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2018-08-27 10:12:41 +00:00
parent 73c8b1ea29
commit a641384815

View file

@ -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)