diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/rdoc/test_rdoc_generator_darkfish.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_generator_darkfish.rb b/test/rdoc/test_rdoc_generator_darkfish.rb index ff21515dfd..79c52f0805 100644 --- a/test/rdoc/test_rdoc_generator_darkfish.rb +++ b/test/rdoc/test_rdoc_generator_darkfish.rb @@ -214,7 +214,9 @@ class TestRDocGeneratorDarkfish < RDoc::TestCase begin FileUtils.ln src, dst + nlink = File.stat(dst).nlink if File.identical? src, dst FileUtils.rm dst + return if nlink == 1 rescue SystemCallError return end |