mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip specs which make non-socket fd nonblocking on Windows
because Windows does not support nonblocking mode except sockets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
683b89070e
commit
1f136bffe6
1 changed files with 21 additions and 19 deletions
|
@ -251,6 +251,7 @@ describe "C-API IO function" do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
platform_is_not :windows do
|
||||||
describe "rb_io_wait_readable" do
|
describe "rb_io_wait_readable" do
|
||||||
it "returns false if there is no error condition" do
|
it "returns false if there is no error condition" do
|
||||||
@o.rb_io_wait_readable(@r_io, false).should be_false
|
@o.rb_io_wait_readable(@r_io, false).should be_false
|
||||||
|
@ -276,6 +277,7 @@ describe "C-API IO function" do
|
||||||
thr.join
|
thr.join
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
describe "rb_thread_wait_fd" do
|
describe "rb_thread_wait_fd" do
|
||||||
it "waits til an fd is ready for reading" do
|
it "waits til an fd is ready for reading" do
|
||||||
|
|
Loading…
Reference in a new issue