* 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
This commit is contained in:
naruse 2010-09-09 01:46:07 +00:00
Родитель 4d2787c67b
Коммит 050d7453b7
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Thu Sep 9 10:44:46 2010 NARUSE, Yui <naruse@ruby-lang.org>
* 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]
Thu Sep 9 09:02:01 2010 NARUSE, Yui <naruse@ruby-lang.org>
* tool/rbinstall.rb (install?): gemspec filename should include

Просмотреть файл

@ -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"])