ruby-changes:58893
From: Kazuhiro <ko1@a...>
Date: Sat, 23 Nov 2019 11:42:19 +0900 (JST)
Subject: [ruby-changes:58893] 9318e1ff3e (master): Use realpath to try to fix failures with symlinks
https://git.ruby-lang.org/ruby.git/commit/?id=9318e1ff3e From 9318e1ff3e700250dba277924672634c6ecf2940 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Sat, 23 Nov 2019 11:41:27 +0900 Subject: Use realpath to try to fix failures with symlinks diff --git a/test/test_tracer.rb b/test/test_tracer.rb index c79b552..0a09833 100644 --- a/test/test_tracer.rb +++ b/test/test_tracer.rb @@ -140,6 +140,7 @@ class Dummy https://github.com/ruby/ruby/blob/trunk/test/test_tracer.rb#L140 end EOF end + dummy_script = File.realpath dummy_script script = File.join(dir, "require_tracer.rb") open(script, "w") do |f| f.print <<-EOF @@ -191,6 +192,7 @@ class Dummy https://github.com/ruby/ruby/blob/trunk/test/test_tracer.rb#L192 end EOF end + dummy_script = File.realpath dummy_script script = File.join(dir, "require_tracer.rb") open(script, "w") do |f| f.print <<-EOF -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/