aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/ruby/core/process/ppid_spec.rb6
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