зеркало из https://github.com/github/ruby.git
test_coverage.rb: use real path
* test/coverage/test_coverage.rb (test_restarting_coverage): use real directory path for the case $TMPDIR contains symlinks. on macOS, it is defaulted to a path under /var which is a symlink to /private/var. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f34090ca4b
Коммит
3b55682529
|
@ -67,6 +67,7 @@ class TestCoverage < Test::Unit::TestCase
|
|||
def test_restarting_coverage
|
||||
Dir.mktmpdir {|tmp|
|
||||
Dir.chdir(tmp) {
|
||||
tmp = Dir.pwd
|
||||
File.open("test.rb", "w") do |f|
|
||||
f.puts <<-EOS
|
||||
def coverage_test_restarting
|
||||
|
|
Загрузка…
Ссылка в новой задаче