summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 183bf10b83..d90fa06fb3 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -195,8 +195,8 @@ class TestProcess < Test::Unit::TestCase
}
h = {}
- ENV.each {|k,v| h[k] = nil unless k == "PATH" }
- IO.popen([h, RUBY, '-e', 'puts ENV.keys']) {|io|
+ ENV.each {|k,v| h[k] = nil unless k.upcase == "PATH" }
+ IO.popen([h, RUBY, '-e', 'puts ENV.keys.map{|e|e.upcase}']) {|io|
assert_equal("PATH\n", io.read)
}