diff options
Diffstat (limited to 'spec/ruby/core/process')
88 files changed, 95 insertions, 95 deletions
diff --git a/spec/ruby/core/process/abort_spec.rb b/spec/ruby/core/process/abort_spec.rb index f7113c8b7e..1b6ad1da43 100644 --- a/spec/ruby/core/process/abort_spec.rb +++ b/spec/ruby/core/process/abort_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/process/abort', __FILE__) +require_relative '../../spec_helper' +require_relative '../../shared/process/abort' describe "Process.abort" do it_behaves_like :process_abort, :abort, Process diff --git a/spec/ruby/core/process/daemon_spec.rb b/spec/ruby/core/process/daemon_spec.rb index f68ddfe253..9567382d3d 100644 --- a/spec/ruby/core/process/daemon_spec.rb +++ b/spec/ruby/core/process/daemon_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/common', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/common' platform_is_not :windows do describe :process_daemon_keep_stdio_open_false, shared: true do diff --git a/spec/ruby/core/process/detach_spec.rb b/spec/ruby/core/process/detach_spec.rb index 7a38e290ce..74169a2fed 100644 --- a/spec/ruby/core/process/detach_spec.rb +++ b/spec/ruby/core/process/detach_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.detach" do platform_is_not :windows do diff --git a/spec/ruby/core/process/egid_spec.rb b/spec/ruby/core/process/egid_spec.rb index 316343944c..24dda43804 100644 --- a/spec/ruby/core/process/egid_spec.rb +++ b/spec/ruby/core/process/egid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.egid" do it "returns the effective group ID for this process" do diff --git a/spec/ruby/core/process/euid_spec.rb b/spec/ruby/core/process/euid_spec.rb index 1855ef66f5..bc3f52592e 100644 --- a/spec/ruby/core/process/euid_spec.rb +++ b/spec/ruby/core/process/euid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.euid" do it "returns the effective user ID for this process" do diff --git a/spec/ruby/core/process/exec_spec.rb b/spec/ruby/core/process/exec_spec.rb index b4eddf526e..098898d42e 100644 --- a/spec/ruby/core/process/exec_spec.rb +++ b/spec/ruby/core/process/exec_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.exec" do it "raises Errno::ENOENT for an empty string" do diff --git a/spec/ruby/core/process/exit_spec.rb b/spec/ruby/core/process/exit_spec.rb index 7cbd0c363e..70d79d789d 100644 --- a/spec/ruby/core/process/exit_spec.rb +++ b/spec/ruby/core/process/exit_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/process/exit', __FILE__) +require_relative '../../spec_helper' +require_relative '../../shared/process/exit' describe "Process.exit" do it_behaves_like :process_exit, :exit, Process diff --git a/spec/ruby/core/process/fork_spec.rb b/spec/ruby/core/process/fork_spec.rb index 2de2231dc5..a4f765247d 100644 --- a/spec/ruby/core/process/fork_spec.rb +++ b/spec/ruby/core/process/fork_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/process/fork', __FILE__) +require_relative '../../spec_helper' +require_relative '../../shared/process/fork' describe "Process.fork" do it_behaves_like :process_fork, :fork, Process diff --git a/spec/ruby/core/process/getpgid_spec.rb b/spec/ruby/core/process/getpgid_spec.rb index b92fb15152..c1dd007b16 100644 --- a/spec/ruby/core/process/getpgid_spec.rb +++ b/spec/ruby/core/process/getpgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.getpgid" do platform_is_not :windows do diff --git a/spec/ruby/core/process/getpgrp_spec.rb b/spec/ruby/core/process/getpgrp_spec.rb index 9643a16b2a..e1d1c5f92d 100644 --- a/spec/ruby/core/process/getpgrp_spec.rb +++ b/spec/ruby/core/process/getpgrp_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' # see setpgrp_spec.rb diff --git a/spec/ruby/core/process/getpriority_spec.rb b/spec/ruby/core/process/getpriority_spec.rb index 68307b9bd5..4b66e18679 100644 --- a/spec/ruby/core/process/getpriority_spec.rb +++ b/spec/ruby/core/process/getpriority_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.getpriority" do platform_is_not :windows do diff --git a/spec/ruby/core/process/getrlimit_spec.rb b/spec/ruby/core/process/getrlimit_spec.rb index 7924d43081..2ab825532b 100644 --- a/spec/ruby/core/process/getrlimit_spec.rb +++ b/spec/ruby/core/process/getrlimit_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' platform_is :aix do # In AIX, if getrlimit(2) is called multiple times with RLIMIT_DATA, diff --git a/spec/ruby/core/process/gid/change_privilege_spec.rb b/spec/ruby/core/process/gid/change_privilege_spec.rb index 9670e4970f..4ada277514 100644 --- a/spec/ruby/core/process/gid/change_privilege_spec.rb +++ b/spec/ruby/core/process/gid/change_privilege_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.change_privilege" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/eid_spec.rb b/spec/ruby/core/process/gid/eid_spec.rb index 6d6a672fea..3f2186bb6a 100644 --- a/spec/ruby/core/process/gid/eid_spec.rb +++ b/spec/ruby/core/process/gid/eid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.eid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/grant_privilege_spec.rb b/spec/ruby/core/process/gid/grant_privilege_spec.rb index 27373c7113..10da7f8a26 100644 --- a/spec/ruby/core/process/gid/grant_privilege_spec.rb +++ b/spec/ruby/core/process/gid/grant_privilege_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.grant_privilege" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/re_exchange_spec.rb b/spec/ruby/core/process/gid/re_exchange_spec.rb index 4f3a242680..9642c81c5b 100644 --- a/spec/ruby/core/process/gid/re_exchange_spec.rb +++ b/spec/ruby/core/process/gid/re_exchange_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.re_exchange" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/re_exchangeable_spec.rb b/spec/ruby/core/process/gid/re_exchangeable_spec.rb index 1fc5298f26..1c38f903d5 100644 --- a/spec/ruby/core/process/gid/re_exchangeable_spec.rb +++ b/spec/ruby/core/process/gid/re_exchangeable_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.re_exchangeable?" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/rid_spec.rb b/spec/ruby/core/process/gid/rid_spec.rb index fb5c51e412..ad66c94e72 100644 --- a/spec/ruby/core/process/gid/rid_spec.rb +++ b/spec/ruby/core/process/gid/rid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.rid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/sid_available_spec.rb b/spec/ruby/core/process/gid/sid_available_spec.rb index 59b2c3ae1e..8d86b3e9d2 100644 --- a/spec/ruby/core/process/gid/sid_available_spec.rb +++ b/spec/ruby/core/process/gid/sid_available_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.sid_available?" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid/switch_spec.rb b/spec/ruby/core/process/gid/switch_spec.rb index 7ae6dae9a7..b162f1e782 100644 --- a/spec/ruby/core/process/gid/switch_spec.rb +++ b/spec/ruby/core/process/gid/switch_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::GID.switch" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/gid_spec.rb b/spec/ruby/core/process/gid_spec.rb index c39c60a95f..07221da420 100644 --- a/spec/ruby/core/process/gid_spec.rb +++ b/spec/ruby/core/process/gid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.gid" do platform_is_not :windows do diff --git a/spec/ruby/core/process/groups_spec.rb b/spec/ruby/core/process/groups_spec.rb index 8b76bc7932..331c53939a 100644 --- a/spec/ruby/core/process/groups_spec.rb +++ b/spec/ruby/core/process/groups_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.groups" do platform_is_not :windows do diff --git a/spec/ruby/core/process/initgroups_spec.rb b/spec/ruby/core/process/initgroups_spec.rb index a4edf1b8ff..e711fc0798 100644 --- a/spec/ruby/core/process/initgroups_spec.rb +++ b/spec/ruby/core/process/initgroups_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.initgroups" do platform_is_not :windows do diff --git a/spec/ruby/core/process/kill_spec.rb b/spec/ruby/core/process/kill_spec.rb index 4316daf374..f7665ba087 100644 --- a/spec/ruby/core/process/kill_spec.rb +++ b/spec/ruby/core/process/kill_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/common', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/common' describe "Process.kill" do ProcessSpecs.use_system_ruby(self) diff --git a/spec/ruby/core/process/last_status_spec.rb b/spec/ruby/core/process/last_status_spec.rb index d49674d8ec..3898dd6b95 100644 --- a/spec/ruby/core/process/last_status_spec.rb +++ b/spec/ruby/core/process/last_status_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' ruby_version_is '2.5' do describe 'Process#last_status' do diff --git a/spec/ruby/core/process/maxgroups_spec.rb b/spec/ruby/core/process/maxgroups_spec.rb index 8a40a1aba6..362f788ab2 100644 --- a/spec/ruby/core/process/maxgroups_spec.rb +++ b/spec/ruby/core/process/maxgroups_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' platform_is_not :windows do describe "Process.maxgroups" do diff --git a/spec/ruby/core/process/pid_spec.rb b/spec/ruby/core/process/pid_spec.rb index 114b20f11f..c5947ab50d 100644 --- a/spec/ruby/core/process/pid_spec.rb +++ b/spec/ruby/core/process/pid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.pid" do it "returns the process id of this process" do diff --git a/spec/ruby/core/process/ppid_spec.rb b/spec/ruby/core/process/ppid_spec.rb index ec6ce865ee..e0bdfef30b 100644 --- a/spec/ruby/core/process/ppid_spec.rb +++ b/spec/ruby/core/process/ppid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.ppid" do with_feature :fork do diff --git a/spec/ruby/core/process/set_proctitle_spec.rb b/spec/ruby/core/process/set_proctitle_spec.rb index e004f8efc9..d022f2021c 100644 --- a/spec/ruby/core/process/set_proctitle_spec.rb +++ b/spec/ruby/core/process/set_proctitle_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' # Note that there's no way to get the current process title defined as a spec # somewhere. Process.setproctitle explicitly does not change `$0` so the only diff --git a/spec/ruby/core/process/setpgid_spec.rb b/spec/ruby/core/process/setpgid_spec.rb index bd1596d0eb..992fbc3f4d 100644 --- a/spec/ruby/core/process/setpgid_spec.rb +++ b/spec/ruby/core/process/setpgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.setpgid" do with_feature :fork do diff --git a/spec/ruby/core/process/setpgrp_spec.rb b/spec/ruby/core/process/setpgrp_spec.rb index 8e72795f96..800668008d 100644 --- a/spec/ruby/core/process/setpgrp_spec.rb +++ b/spec/ruby/core/process/setpgrp_spec.rb @@ -1,4 +1,4 @@ -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 diff --git a/spec/ruby/core/process/setpriority_spec.rb b/spec/ruby/core/process/setpriority_spec.rb index 7b437a547a..d3be02eb6d 100644 --- a/spec/ruby/core/process/setpriority_spec.rb +++ b/spec/ruby/core/process/setpriority_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.setpriority" do platform_is_not :windows do diff --git a/spec/ruby/core/process/setrlimit_spec.rb b/spec/ruby/core/process/setrlimit_spec.rb index b721cc5098..f4ff607b7b 100644 --- a/spec/ruby/core/process/setrlimit_spec.rb +++ b/spec/ruby/core/process/setrlimit_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' platform_is_not :windows do describe "Process.setrlimit" do diff --git a/spec/ruby/core/process/setsid_spec.rb b/spec/ruby/core/process/setsid_spec.rb index 5f060ef218..d00508a1f7 100644 --- a/spec/ruby/core/process/setsid_spec.rb +++ b/spec/ruby/core/process/setsid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.setsid" do with_feature :fork do diff --git a/spec/ruby/core/process/spawn_spec.rb b/spec/ruby/core/process/spawn_spec.rb index 9e34713757..4de7d9a369 100644 --- a/spec/ruby/core/process/spawn_spec.rb +++ b/spec/ruby/core/process/spawn_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/common', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/common' newline = "\n" platform_is :windows do diff --git a/spec/ruby/core/process/status/bit_and_spec.rb b/spec/ruby/core/process/status/bit_and_spec.rb index 963d2c6c26..97f768fdc1 100644 --- a/spec/ruby/core/process/status/bit_and_spec.rb +++ b/spec/ruby/core/process/status/bit_and_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#&" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/coredump_spec.rb b/spec/ruby/core/process/status/coredump_spec.rb index 8988cff9e1..fbbaf926f7 100644 --- a/spec/ruby/core/process/status/coredump_spec.rb +++ b/spec/ruby/core/process/status/coredump_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#coredump?" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/equal_value_spec.rb b/spec/ruby/core/process/status/equal_value_spec.rb index 1eaaf82273..9e9a2d0a2b 100644 --- a/spec/ruby/core/process/status/equal_value_spec.rb +++ b/spec/ruby/core/process/status/equal_value_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#==" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/exited_spec.rb b/spec/ruby/core/process/status/exited_spec.rb index 79863360c5..0ae3f9e7ae 100644 --- a/spec/ruby/core/process/status/exited_spec.rb +++ b/spec/ruby/core/process/status/exited_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#exited?" do diff --git a/spec/ruby/core/process/status/exitstatus_spec.rb b/spec/ruby/core/process/status/exitstatus_spec.rb index 57baf77724..9a0be6a08d 100644 --- a/spec/ruby/core/process/status/exitstatus_spec.rb +++ b/spec/ruby/core/process/status/exitstatus_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#exitstatus" do diff --git a/spec/ruby/core/process/status/inspect_spec.rb b/spec/ruby/core/process/status/inspect_spec.rb index f3e7d8c9ab..03f0479f2c 100644 --- a/spec/ruby/core/process/status/inspect_spec.rb +++ b/spec/ruby/core/process/status/inspect_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#inspect" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/pid_spec.rb b/spec/ruby/core/process/status/pid_spec.rb index 3389c242ff..9965fc3bdf 100644 --- a/spec/ruby/core/process/status/pid_spec.rb +++ b/spec/ruby/core/process/status/pid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' platform_is_not :windows do describe "Process::Status#pid" do diff --git a/spec/ruby/core/process/status/right_shift_spec.rb b/spec/ruby/core/process/status/right_shift_spec.rb index 5786d4163c..e9dda437e8 100644 --- a/spec/ruby/core/process/status/right_shift_spec.rb +++ b/spec/ruby/core/process/status/right_shift_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#>>" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/signaled_spec.rb b/spec/ruby/core/process/status/signaled_spec.rb index 0f80a525c9..f23c95025f 100644 --- a/spec/ruby/core/process/status/signaled_spec.rb +++ b/spec/ruby/core/process/status/signaled_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#signaled?" do diff --git a/spec/ruby/core/process/status/stopped_spec.rb b/spec/ruby/core/process/status/stopped_spec.rb index e984cefaf7..bebd441d6f 100644 --- a/spec/ruby/core/process/status/stopped_spec.rb +++ b/spec/ruby/core/process/status/stopped_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#stopped?" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/stopsig_spec.rb b/spec/ruby/core/process/status/stopsig_spec.rb index 95fc5b0e77..b2a7c5d9e2 100644 --- a/spec/ruby/core/process/status/stopsig_spec.rb +++ b/spec/ruby/core/process/status/stopsig_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#stopsig" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/success_spec.rb b/spec/ruby/core/process/status/success_spec.rb index e589d3f819..28a1721800 100644 --- a/spec/ruby/core/process/status/success_spec.rb +++ b/spec/ruby/core/process/status/success_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#success?" do diff --git a/spec/ruby/core/process/status/termsig_spec.rb b/spec/ruby/core/process/status/termsig_spec.rb index d4f55e2521..db0765477d 100644 --- a/spec/ruby/core/process/status/termsig_spec.rb +++ b/spec/ruby/core/process/status/termsig_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#termsig" do diff --git a/spec/ruby/core/process/status/to_i_spec.rb b/spec/ruby/core/process/status/to_i_spec.rb index c45724552e..37b7bdb1e4 100644 --- a/spec/ruby/core/process/status/to_i_spec.rb +++ b/spec/ruby/core/process/status/to_i_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#to_i" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/to_int_spec.rb b/spec/ruby/core/process/status/to_int_spec.rb index 8c988d7e19..fb596c1bfb 100644 --- a/spec/ruby/core/process/status/to_int_spec.rb +++ b/spec/ruby/core/process/status/to_int_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#to_int" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/status/to_s_spec.rb b/spec/ruby/core/process/status/to_s_spec.rb index ac87f4712a..5c0d4cd30c 100644 --- a/spec/ruby/core/process/status/to_s_spec.rb +++ b/spec/ruby/core/process/status/to_s_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Status#to_s" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/getegid_spec.rb b/spec/ruby/core/process/sys/getegid_spec.rb index c21b890519..5b8588f147 100644 --- a/spec/ruby/core/process/sys/getegid_spec.rb +++ b/spec/ruby/core/process/sys/getegid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.getegid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/geteuid_spec.rb b/spec/ruby/core/process/sys/geteuid_spec.rb index 85c8d6e1bb..0ce7fc5459 100644 --- a/spec/ruby/core/process/sys/geteuid_spec.rb +++ b/spec/ruby/core/process/sys/geteuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.geteuid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/getgid_spec.rb b/spec/ruby/core/process/sys/getgid_spec.rb index 945d3340f7..05c0fd4c0b 100644 --- a/spec/ruby/core/process/sys/getgid_spec.rb +++ b/spec/ruby/core/process/sys/getgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.getgid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/getuid_spec.rb b/spec/ruby/core/process/sys/getuid_spec.rb index ead6e3044f..56bcef01cc 100644 --- a/spec/ruby/core/process/sys/getuid_spec.rb +++ b/spec/ruby/core/process/sys/getuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.getuid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/issetugid_spec.rb b/spec/ruby/core/process/sys/issetugid_spec.rb index 2919c351a7..4fc7dc3bc6 100644 --- a/spec/ruby/core/process/sys/issetugid_spec.rb +++ b/spec/ruby/core/process/sys/issetugid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.issetugid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setegid_spec.rb b/spec/ruby/core/process/sys/setegid_spec.rb index edc0d59da4..8f20330b94 100644 --- a/spec/ruby/core/process/sys/setegid_spec.rb +++ b/spec/ruby/core/process/sys/setegid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setegid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/seteuid_spec.rb b/spec/ruby/core/process/sys/seteuid_spec.rb index 70cc78bec4..57d3a4800d 100644 --- a/spec/ruby/core/process/sys/seteuid_spec.rb +++ b/spec/ruby/core/process/sys/seteuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.seteuid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setgid_spec.rb b/spec/ruby/core/process/sys/setgid_spec.rb index 25272b1eec..cc712e0102 100644 --- a/spec/ruby/core/process/sys/setgid_spec.rb +++ b/spec/ruby/core/process/sys/setgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setgid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setregid_spec.rb b/spec/ruby/core/process/sys/setregid_spec.rb index 18a5834c80..57d491a707 100644 --- a/spec/ruby/core/process/sys/setregid_spec.rb +++ b/spec/ruby/core/process/sys/setregid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setregid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setresgid_spec.rb b/spec/ruby/core/process/sys/setresgid_spec.rb index 9f1736b460..9be06612c1 100644 --- a/spec/ruby/core/process/sys/setresgid_spec.rb +++ b/spec/ruby/core/process/sys/setresgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setresgid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setresuid_spec.rb b/spec/ruby/core/process/sys/setresuid_spec.rb index 94c892bfdf..1092b349cb 100644 --- a/spec/ruby/core/process/sys/setresuid_spec.rb +++ b/spec/ruby/core/process/sys/setresuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setresuid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setreuid_spec.rb b/spec/ruby/core/process/sys/setreuid_spec.rb index 72a8e61e7a..f3451c63c8 100644 --- a/spec/ruby/core/process/sys/setreuid_spec.rb +++ b/spec/ruby/core/process/sys/setreuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setreuid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setrgid_spec.rb b/spec/ruby/core/process/sys/setrgid_spec.rb index ae820c98b8..27eea2ed86 100644 --- a/spec/ruby/core/process/sys/setrgid_spec.rb +++ b/spec/ruby/core/process/sys/setrgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setrgid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setruid_spec.rb b/spec/ruby/core/process/sys/setruid_spec.rb index 4f40f6666a..9dbd84bf68 100644 --- a/spec/ruby/core/process/sys/setruid_spec.rb +++ b/spec/ruby/core/process/sys/setruid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setruid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/sys/setuid_spec.rb b/spec/ruby/core/process/sys/setuid_spec.rb index 13bf072ad1..e06c3588a5 100644 --- a/spec/ruby/core/process/sys/setuid_spec.rb +++ b/spec/ruby/core/process/sys/setuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Sys.setuid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/times_spec.rb b/spec/ruby/core/process/times_spec.rb index c381c93418..07b4fa5c9f 100644 --- a/spec/ruby/core/process/times_spec.rb +++ b/spec/ruby/core/process/times_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.times" do it "returns a Process::Tms" do diff --git a/spec/ruby/core/process/tms/cstime_spec.rb b/spec/ruby/core/process/tms/cstime_spec.rb index 6743b1515c..207d4391c0 100644 --- a/spec/ruby/core/process/tms/cstime_spec.rb +++ b/spec/ruby/core/process/tms/cstime_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms#cstime" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/tms/cutime_spec.rb b/spec/ruby/core/process/tms/cutime_spec.rb index 3d01802360..390280f005 100644 --- a/spec/ruby/core/process/tms/cutime_spec.rb +++ b/spec/ruby/core/process/tms/cutime_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms#cutime" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/tms/element_reference_spec.rb b/spec/ruby/core/process/tms/element_reference_spec.rb index 8589c4c255..84a34089ae 100644 --- a/spec/ruby/core/process/tms/element_reference_spec.rb +++ b/spec/ruby/core/process/tms/element_reference_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms.[]" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/tms/members_spec.rb b/spec/ruby/core/process/tms/members_spec.rb index 87da8d3ed9..005a8baec1 100644 --- a/spec/ruby/core/process/tms/members_spec.rb +++ b/spec/ruby/core/process/tms/members_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms.members" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/tms/new_spec.rb b/spec/ruby/core/process/tms/new_spec.rb index 6a232c125d..9dd1f5a8f2 100644 --- a/spec/ruby/core/process/tms/new_spec.rb +++ b/spec/ruby/core/process/tms/new_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms.new" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/tms/stime_spec.rb b/spec/ruby/core/process/tms/stime_spec.rb index 5cd73bba11..4104b625e2 100644 --- a/spec/ruby/core/process/tms/stime_spec.rb +++ b/spec/ruby/core/process/tms/stime_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms#stime" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/tms/utime_spec.rb b/spec/ruby/core/process/tms/utime_spec.rb index 56d5a00c92..28371590e9 100644 --- a/spec/ruby/core/process/tms/utime_spec.rb +++ b/spec/ruby/core/process/tms/utime_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::Tms#utime" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/change_privilege_spec.rb b/spec/ruby/core/process/uid/change_privilege_spec.rb index 91a38bfcdf..e4b552dd94 100644 --- a/spec/ruby/core/process/uid/change_privilege_spec.rb +++ b/spec/ruby/core/process/uid/change_privilege_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.change_privilege" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/eid_spec.rb b/spec/ruby/core/process/uid/eid_spec.rb index 39fcd13d93..f0bb9ce762 100644 --- a/spec/ruby/core/process/uid/eid_spec.rb +++ b/spec/ruby/core/process/uid/eid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.eid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/grant_privilege_spec.rb b/spec/ruby/core/process/uid/grant_privilege_spec.rb index c4d3443de8..2b8a5c9102 100644 --- a/spec/ruby/core/process/uid/grant_privilege_spec.rb +++ b/spec/ruby/core/process/uid/grant_privilege_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.grant_privilege" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/re_exchange_spec.rb b/spec/ruby/core/process/uid/re_exchange_spec.rb index 2f9b0d6a87..c0f10f33c4 100644 --- a/spec/ruby/core/process/uid/re_exchange_spec.rb +++ b/spec/ruby/core/process/uid/re_exchange_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.re_exchange" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/re_exchangeable_spec.rb b/spec/ruby/core/process/uid/re_exchangeable_spec.rb index 63f45fa662..8200d7ecb7 100644 --- a/spec/ruby/core/process/uid/re_exchangeable_spec.rb +++ b/spec/ruby/core/process/uid/re_exchangeable_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.re_exchangeable?" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/rid_spec.rb b/spec/ruby/core/process/uid/rid_spec.rb index cdfe08e3be..e865cbfef6 100644 --- a/spec/ruby/core/process/uid/rid_spec.rb +++ b/spec/ruby/core/process/uid/rid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.rid" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/sid_available_spec.rb b/spec/ruby/core/process/uid/sid_available_spec.rb index 5d51366dd4..be7912eb68 100644 --- a/spec/ruby/core/process/uid/sid_available_spec.rb +++ b/spec/ruby/core/process/uid/sid_available_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.sid_available?" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid/switch_spec.rb b/spec/ruby/core/process/uid/switch_spec.rb index 6747ee4f43..4191b97db4 100644 --- a/spec/ruby/core/process/uid/switch_spec.rb +++ b/spec/ruby/core/process/uid/switch_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../../spec_helper', __FILE__) +require_relative '../../../spec_helper' describe "Process::UID.switch" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/uid_spec.rb b/spec/ruby/core/process/uid_spec.rb index 1b561f47e0..4a66beaa2a 100644 --- a/spec/ruby/core/process/uid_spec.rb +++ b/spec/ruby/core/process/uid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.uid" do platform_is_not :windows do diff --git a/spec/ruby/core/process/wait2_spec.rb b/spec/ruby/core/process/wait2_spec.rb index d1f3a47b7f..cb082541f9 100644 --- a/spec/ruby/core/process/wait2_spec.rb +++ b/spec/ruby/core/process/wait2_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.wait2" do before :all do diff --git a/spec/ruby/core/process/wait_spec.rb b/spec/ruby/core/process/wait_spec.rb index 8111621695..f11b079c16 100644 --- a/spec/ruby/core/process/wait_spec.rb +++ b/spec/ruby/core/process/wait_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../fixtures/common', __FILE__) +require_relative '../../spec_helper' +require_relative 'fixtures/common' describe "Process.wait" do ProcessSpecs.use_system_ruby(self) diff --git a/spec/ruby/core/process/waitall_spec.rb b/spec/ruby/core/process/waitall_spec.rb index e1fc38d2bc..bdc1ea7490 100644 --- a/spec/ruby/core/process/waitall_spec.rb +++ b/spec/ruby/core/process/waitall_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.waitall" do before :all do diff --git a/spec/ruby/core/process/waitpid2_spec.rb b/spec/ruby/core/process/waitpid2_spec.rb index 303c59fda3..45513af667 100644 --- a/spec/ruby/core/process/waitpid2_spec.rb +++ b/spec/ruby/core/process/waitpid2_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.waitpid2" do it "needs to be reviewed for spec completeness" diff --git a/spec/ruby/core/process/waitpid_spec.rb b/spec/ruby/core/process/waitpid_spec.rb index c95e8d59dd..fdd6be1287 100644 --- a/spec/ruby/core/process/waitpid_spec.rb +++ b/spec/ruby/core/process/waitpid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "Process.waitpid" do it "needs to be reviewed for spec completeness" |