From a38678a6e4f7420706e443cd8aebc6b4d7e22c1f Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 28 Oct 2015 08:01:48 +0000 Subject: test_file.rb: fix name clash * test/ruby/test_file.rb (test_realpath_encoding): get rid of name clash on case-insensitive filesystem in ascii only environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index ee6bfe77ea..3599d168d1 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -266,7 +266,7 @@ class TestFile < Test::Unit::TestCase Dir.mktmpdir('rubytest-realpath') {|tmpdir| realdir = File.realpath(tmpdir) open(File.join(tmpdir, tst), "w") {} - a = File.join(tmpdir, "a") + a = File.join(tmpdir, "x") File.symlink(tst, a) assert_equal(File.join(realdir, tst), File.realpath(a)) File.unlink(a) -- cgit v1.2.3