summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_dir.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb
index 1d3d151c85..edb5210af1 100644
--- a/test/ruby/test_dir.rb
+++ b/test/ruby/test_dir.rb
@@ -653,6 +653,8 @@ class TestDir < Test::Unit::TestCase
File.unlink("#{long_path}/c")
Dir.rmdir(long_path)
end
+ rescue Errno::ENOENT
+ omit "File system does not support long file name"
end
end