summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/setpgrp_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/setpgrp_spec.rb')
-rw-r--r--spec/ruby/core/process/setpgrp_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/process/setpgrp_spec.rb b/spec/ruby/core/process/setpgrp_spec.rb
index 800668008d..7c4344f115 100644
--- a/spec/ruby/core/process/setpgrp_spec.rb
+++ b/spec/ruby/core/process/setpgrp_spec.rb
@@ -2,7 +2,7 @@ require_relative '../../spec_helper'
# TODO: put these in the right files.
describe "Process.setpgrp and Process.getpgrp" do
- platform_is_not :windows do
+ guard -> { Process.respond_to?(:fork) } do
it "sets and gets the process group ID of the calling process" do
# there are two synchronization points here:
# One for the child to let the parent know that it has finished