summaryrefslogtreecommitdiff
path: root/test/lib/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 05:02:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-04 05:02:40 +0000
commitb9c630f999e36ce3d2b3c80375e6716bfca0dfb8 (patch)
treefdd90f65051eba0066fd1f71216d617d88f7db8b /test/lib/test
parentdd2d43d9bd3aaf7a932c7e00bfc278db5d685083 (diff)
parallel.rb: expand path
* test/lib/test/unit/parallel.rb (run): expand the file name to be loaded, so that relative paths work in parallel mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/test')
-rw-r--r--test/lib/test/unit/parallel.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb
index ea809f28ae..65f8a74ca4 100644
--- a/test/lib/test/unit/parallel.rb
+++ b/test/lib/test/unit/parallel.rb
@@ -112,7 +112,7 @@ module Test
suites = MiniTest::Unit::TestCase.test_suites
begin
- require $1
+ require File.realpath($1)
rescue LoadError
_report "after", Marshal.dump([$1, ProxyError.new($!)])
_report "ready"