aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_file.rb2
1 files changed, 1 insertions, 1 deletions
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)