From eb45ba61160dbae412407f232fe9b3252eb99362 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku Date: Tue, 30 Apr 2019 04:09:25 +0900 Subject: [PATCH] Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild --- spec/ruby/core/process/ppid_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/ruby/core/process/ppid_spec.rb b/spec/ruby/core/process/ppid_spec.rb index 7d22755c77..47c32a8591 100644 --- a/spec/ruby/core/process/ppid_spec.rb +++ b/spec/ruby/core/process/ppid_spec.rb @@ -1,7 +1,9 @@ require_relative '../../spec_helper' describe "Process.ppid" do - it "returns the process id of the parent of this process" do - ruby_exe("puts Process.ppid").should == "#{Process.pid}\n" + platform_is_not :windows do + it "returns the process id of the parent of this process" do + ruby_exe("puts Process.ppid").should == "#{Process.pid}\n" + end end end