diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-09 01:46:07 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-09 01:46:07 +0000 |
commit | 050d7453b71029816091c302b2d389811b722aaf (patch) | |
tree | 9de9479366a2d03d266624fb225579363edb2612 /test/ruby/test_env.rb | |
parent | 4d2787c67b84542c6fcce4370c3f41f9a644bbb0 (diff) | |
download | ruby-050d7453b71029816091c302b2d389811b722aaf.tar.gz |
* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
that it ignores characters after = in ENV.
patched by Jeremy Evans [ruby-core:32184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_env.rb')
-rw-r--r-- | test/ruby/test_env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index 060c50e68e..785b6bb067 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -123,7 +123,7 @@ class TestEnv < Test::Unit::TestCase assert_equal(nil, ENV["test"]) assert_raise(ArgumentError) { ENV["foo\0bar"] = "test" } assert_raise(ArgumentError) { ENV["test"] = "foo\0bar" } - if /netbsd/ =~ RUBY_PLATFORM + if /netbsd|openbsd/ =~ RUBY_PLATFORM ENV["foo=bar"] = "test" assert_equal("test", ENV["foo=bar"]) assert_equal("test", ENV["foo"]) |