aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_file.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index 89757287d1..5e9574cf32 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -504,6 +504,8 @@ class TestFile < Test::Unit::TestCase
io = File.open(tmpdir, File::RDWR | File::TMPFILE)
rescue Errno::EINVAL
skip 'O_TMPFILE not supported (EINVAL)'
+ rescue Errno::EISDIR
+ skip 'O_TMPFILE not supported (EISDIR)'
rescue Errno::EOPNOTSUPP
skip 'O_TMPFILE not supported (EOPNOTSUPP)'
end