aboutsummaryrefslogtreecommitdiffstats
path: root/test/rake/test_rake_functional.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-16 03:49:09 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-16 03:49:09 +0000
commita632fe43d837f3cb05ed35012327aa60c37919b7 (patch)
tree0294493ad49772908be3faf2616451c8e380c145 /test/rake/test_rake_functional.rb
parent48aab9e032f7deca5ccc994356428c86f75ef2f7 (diff)
downloadruby-a632fe43d837f3cb05ed35012327aa60c37919b7.tar.gz
* test/rake/helper.rb (Rake::TestCase#setup): revert r37669.
@orig_PWD should be the original pwd. * test/rake/test_*.rb: don't use @orig_PWD to load libraries. It should be specified with relative path from the file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/test_rake_functional.rb')
-rw-r--r--test/rake/test_rake_functional.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rake/test_rake_functional.rb b/test/rake/test_rake_functional.rb
index 2b97927e4c..90e4064fbe 100644
--- a/test/rake/test_rake_functional.rb
+++ b/test/rake/test_rake_functional.rb
@@ -5,8 +5,8 @@ require 'open3'
class TestRakeFunctional < Rake::TestCase
def setup
- @rake_path = File.expand_path("bin/rake")
- lib_path = File.expand_path("lib")
+ @rake_path = File.expand_path("../../../bin/rake", __FILE__)
+ lib_path = File.expand_path("../../../lib", __FILE__)
@ruby_options = ["-I#{lib_path}", "-I."]
@verbose = ENV['VERBOSE']