ruby-changes:55624
From: NAKAMURA <ko1@a...>
Date: Tue, 30 Apr 2019 04:10:21 +0900 (JST)
Subject: [ruby-changes:55624] NAKAMURA Usaku:eb45ba6116 (trunk): Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild
https://git.ruby-lang.org/ruby.git/commit/?id=eb45ba6116 From eb45ba61160dbae412407f232fe9b3252eb99362 Mon Sep 17 00:00:00 2001 From: NAKAMURA Usaku <usa@r...> Date: Tue, 30 Apr 2019 04:09:25 +0900 Subject: Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild diff --git a/spec/ruby/core/process/ppid_spec.rb b/spec/ruby/core/process/ppid_spec.rb index 7d22755..47c32a8 100644 --- a/spec/ruby/core/process/ppid_spec.rb +++ b/spec/ruby/core/process/ppid_spec.rb @@ -1,7 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/ppid_spec.rb#L1 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/