diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-11 08:44:00 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-11 08:44:00 +0000 |
commit | 785ace12f903cfae848ea38d7b8a0cb3439379f3 (patch) | |
tree | 819588dc2f9df41c2f4d19ee58d68ccfa109e7a7 /test/ruby/test_file.rb | |
parent | ed2ad8fc1e42687109ed54788d605ce58e460d61 (diff) | |
download | ruby-785ace12f903cfae848ea38d7b8a0cb3439379f3.tar.gz |
CentOS-7 (1810)'s header has O_TMPFILE but kernel doesn't support it
http://rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20181206T080003Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_file.rb')
-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 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 |