diff options
author | NAKAMURA Usaku <usa@ruby-lang.org> | 2019-04-30 04:09:25 +0900 |
---|---|---|
committer | NAKAMURA Usaku <usa@ruby-lang.org> | 2019-04-30 04:09:25 +0900 |
commit | eb45ba61160dbae412407f232fe9b3252eb99362 (patch) | |
tree | e8572c44cd7853f1713bb9ccf5017329fa90f9de /spec/ruby/core | |
parent | 320f0aba49d17737ef965fc8c5f565dad96f514c (diff) | |
download | ruby-eb45ba61160dbae412407f232fe9b3252eb99362.tar.gz |
Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/process/ppid_spec.rb | 6 |
1 files 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 |