mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
f0feb0a4f0
commit
db33b28cc3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed May 2 23:55:51 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): expand
|
||||
real path to get rid of loading same files via symlinks.
|
||||
|
||||
Wed May 2 23:26:04 2012 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* cont.c (rb_fiber_m_transfer): improve sample code in Fiber#transfer
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue