ruby-changes:52291
From: eregon <ko1@a...>
Date: Wed, 22 Aug 2018 05:28:49 +0900 (JST)
Subject: [ruby-changes:52291] eregon:r64499 (trunk): Only run the spec on Linux
eregon 2018-08-22 05:28:45 +0900 (Wed, 22 Aug 2018) New Revision: 64499 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64499 Log: Only run the spec on Linux * Other platforms seem to behave differently. Modified files: trunk/spec/ruby/library/socket/socket/accept_spec.rb Index: spec/ruby/library/socket/socket/accept_spec.rb =================================================================== --- spec/ruby/library/socket/socket/accept_spec.rb (revision 64498) +++ spec/ruby/library/socket/socket/accept_spec.rb (revision 64499) @@ -12,7 +12,7 @@ describe 'Socket#accept' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/socket/accept_spec.rb#L12 @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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/