diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-02 14:55:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-02 14:55:53 +0000 |
commit | db33b28cc3f990d50cb869729f4eaca2ad1ece5e (patch) | |
tree | 9cf11abadf72121d3636fd8ca1fee9840029d246 /lib/test | |
parent | f0feb0a4f024f8763763005937c664ef3013a595 (diff) | |
download | ruby-db33b28cc3f990d50cb869729f4eaca2ad1ece5e.tar.gz |
* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): expand
real path to get rid of loading same files via symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
-rw-r--r-- | lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 311d758a81..ac15a95b07 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -228,7 +228,7 @@ module Test return false if !super result = false files.each {|f| - d = File.dirname(path = File.expand_path(f)) + d = File.dirname(path = File.realpath(f)) unless $:.include? d $: << d end |