summaryrefslogtreecommitdiff
path: root/spec/ruby/optional
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-05-24 09:15:20 +0900
committerGitHub <noreply@github.com>2023-05-24 09:15:20 +0900
commit28056a6d161417bd7b3aed8099f59f4ac164b351 (patch)
treebf10d11f371f09f73bdc4eebd6bd6f0e360f9f08 /spec/ruby/optional
parent9592bc703922933c4196748a0e7221a53ad50b9b (diff)
Add support for pread/pwrite on windows. (#7827)
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'spec/ruby/optional')
-rw-r--r--spec/ruby/optional/capi/thread_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/ruby/optional/capi/thread_spec.rb b/spec/ruby/optional/capi/thread_spec.rb
index 5cb46bbb7c..953664f291 100644
--- a/spec/ruby/optional/capi/thread_spec.rb
+++ b/spec/ruby/optional/capi/thread_spec.rb
@@ -165,7 +165,8 @@ describe "C-API Thread function" do
end
end
- platform_is_not :mingw do
+ # This test is disabled on Windows: https://bugs.ruby-lang.org/issues/16265
+ platform_is_not :mingw, :windows do
it "runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO" do
thr = Thread.new do
@t.rb_thread_call_without_gvl_with_ubf_io