зеркало из https://github.com/github/ruby.git
* 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:
Родитель
4d2787c67b
Коммит
050d7453b7
|
@ -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>
|
Thu Sep 9 09:02:01 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* tool/rbinstall.rb (install?): gemspec filename should include
|
* tool/rbinstall.rb (install?): gemspec filename should include
|
||||||
|
|
|
@ -123,7 +123,7 @@ class TestEnv < Test::Unit::TestCase
|
||||||
assert_equal(nil, ENV["test"])
|
assert_equal(nil, ENV["test"])
|
||||||
assert_raise(ArgumentError) { ENV["foo\0bar"] = "test" }
|
assert_raise(ArgumentError) { ENV["foo\0bar"] = "test" }
|
||||||
assert_raise(ArgumentError) { ENV["test"] = "foo\0bar" }
|
assert_raise(ArgumentError) { ENV["test"] = "foo\0bar" }
|
||||||
if /netbsd/ =~ RUBY_PLATFORM
|
if /netbsd|openbsd/ =~ RUBY_PLATFORM
|
||||||
ENV["foo=bar"] = "test"
|
ENV["foo=bar"] = "test"
|
||||||
assert_equal("test", ENV["foo=bar"])
|
assert_equal("test", ENV["foo=bar"])
|
||||||
assert_equal("test", ENV["foo"])
|
assert_equal("test", ENV["foo"])
|
||||||
|
|
Загрузка…
Ссылка в новой задаче