mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
f34090ca4b
commit
3b55682529
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue