diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 058494385d..9c764925d8 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -237,6 +237,8 @@ class TestProcess < Test::Unit::TestCase MANDATORY_ENVS << 'LD_PRELOAD' when /mswin|mingw/ MANDATORY_ENVS.concat(%w[HOME USER TMPDIR]) + when /darwin/ + MANDATORY_ENVS.concat(ENV.keys.grep(/\A__CF_/)) end if e = RbConfig::CONFIG['LIBPATHENV'] MANDATORY_ENVS << e |