From 784ddb80d257ca1ca5a75a26917f584c029c7686 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 22 Jul 2008 02:17:15 +0000 Subject: * test/ruby/test_dir.rb: use realpath of tmpdir. [ruby-dev:35481] * test/ruby/test_process.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ruby/test_process.rb') diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index b45cbcc2dd..cd4410302b 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1,5 +1,6 @@ require 'test/unit' require 'tmpdir' +require 'pathname' require_relative 'envutil' class TestProcess < Test::Unit::TestCase @@ -21,6 +22,7 @@ class TestProcess < Test::Unit::TestCase def with_tmpchdir Dir.mktmpdir {|d| + d = Pathname.new(d).realpath.to_s Dir.chdir(d) { yield d } -- cgit v1.2.3