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:
parent
320f0aba49
commit
eb45ba6116
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue