aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-12 07:12:12 +0000
committerwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-12 07:12:12 +0000
commita6b81a6b6ef32cce224bff019e11bbe8118daee9 (patch)
tree20ae4db137244c8dee2e9f404e5a437d336b3b82 /test/ruby/test_process.rb
parentb5227ae183ca7cf1a32d7daeafc2b7249f656a39 (diff)
downloadruby-a6b81a6b6ef32cce224bff019e11bbe8118daee9.tar.gz
* 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
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 949611ca1e..3a7eb5068f 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -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