summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2022-02-28 02:57:40 +0000
committerYuta Saito <kateinoigakukun@gmail.com>2022-03-17 17:33:12 +0900
commit7023b3d394e111be8911e364ac59e03ca1d8e13f (patch)
tree41c1f9998d8750ea806642e7aac59158b11e97e3 /spec
parentdf6f2b645ffd086018d83ebd15b9b5cafdbbb2b6 (diff)
spec: disable a part of Kernel.open spec where spawns a process for WASI
WASI doesn't provide a way to spawn a new process
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5672
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/kernel/open_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/open_spec.rb b/spec/ruby/core/kernel/open_spec.rb
index 569f2f6a7f..fa9299f9d4 100644
--- a/spec/ruby/core/kernel/open_spec.rb
+++ b/spec/ruby/core/kernel/open_spec.rb
@@ -27,7 +27,7 @@ describe "Kernel#open" do
open(@name, "r") { |f| f.gets }.should == @content
end
- platform_is_not :windows do
+ platform_is_not :windows, :wasi do
it "opens an io when path starts with a pipe" do
@io = open("|date")
begin