aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-12 00:39:06 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-12 00:39:06 +0000
commite1b928c59857f976efe421130f7c2e9ab6b746ef (patch)
treeeba0590da66b3db0f639e48c9a59aedad7c28b4f /test/ruby/test_process.rb
parent853dd6cabe692251376271421be433d68bea2865 (diff)
downloadruby-e1b928c59857f976efe421130f7c2e9ab6b746ef.tar.gz
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
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 00fc6199e9..949611ca1e 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -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]")