From 785ace12f903cfae848ea38d7b8a0cb3439379f3 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 11 Dec 2018 08:44:00 +0000 Subject: [PATCH] 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 --- test/ruby/test_file.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 89757287d194..5e9574cf32e3 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -504,6 +504,8 @@ def test_open_tempfile_path 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