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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/process/setpgrp_spec.rb b/spec/ruby/core/process/setpgrp_spec.rb
index 8e72795f96..7c4344f115 100644
--- a/spec/ruby/core/process/setpgrp_spec.rb
+++ b/spec/ruby/core/process/setpgrp_spec.rb
@@ -1,8 +1,8 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+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