diff options
-rw-r--r-- | test/ruby/test_file.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 9d29bbbb65..2aa145a303 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -494,6 +494,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::EOPNOTSUPP + skip 'O_TMPFILE not supported (EOPNOTSUPP)' end io.write "foo" |