mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 18:43:59 +02:00
* test/ruby/test_process.rb (test_execopts_env): MANDATORY_ENVS might
not be a part of ENV. e.g. TMPDIR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b5227ae183
commit
a6b81a6b6e
2 changed files with 6 additions and 1 deletions
|
@ -238,7 +238,7 @@ class TestProcess < Test::Unit::TestCase
|
|||
|
||||
h = {}
|
||||
cmd = [h, RUBY]
|
||||
ENV.each do |k,v|
|
||||
(ENV.keys + MANDATORY_ENVS).each do |k|
|
||||
case k
|
||||
when /\APATH\z/i
|
||||
when *MANDATORY_ENVS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue