1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild

This commit is contained in:
NAKAMURA Usaku 2019-04-30 04:09:25 +09:00
parent 320f0aba49
commit eb45ba6116
No known key found for this signature in database
GPG key ID: C5FE8AEA64F81259

View file

@ -1,7 +1,9 @@
require_relative '../../spec_helper' require_relative '../../spec_helper'
describe "Process.ppid" do describe "Process.ppid" do
platform_is_not :windows do
it "returns the process id of the parent of this process" do it "returns the process id of the parent of this process" do
ruby_exe("puts Process.ppid").should == "#{Process.pid}\n" ruby_exe("puts Process.ppid").should == "#{Process.pid}\n"
end end
end end
end