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

Only run the spec on Linux

* Other platforms seem to behave differently.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2018-08-21 20:28:45 +00:00
parent 778964ba05
commit ec1af131c8

View file

@ -12,7 +12,7 @@ describe 'Socket#accept' do
@server.close unless @server.closed?
end
platform_is_not :aix, :darwin, :freebsd, :solaris, :windows do # hangs
platform_is :linux do # hangs on other platforms
describe 'using an unbound socket' do
it 'raises Errno::EINVAL' do
lambda { @server.accept }.should raise_error(Errno::EINVAL)