delete RUBYLIB for ruby spawned in test_no_curdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-01-12 00:39:06 +00:00
parent 853dd6cabe
commit e1b928c598

View File

@ -1158,7 +1158,7 @@ class TestProcess < Test::Unit::TestCase
status = nil
Dir.chdir("vd") {
Dir.rmdir("#{d}/vd")
system(RUBY, "-e", "exit true")
system({"RUBYLIB"=>nil}, RUBY, "-e", "exit true")
status = $?
}
assert(status.success?, "[ruby-dev:38105]")