[前][次][番号順一覧][スレッド一覧]

ruby-changes:54113

From: naruse <ko1@a...>
Date: Tue, 11 Dec 2018 17:44:05 +0900 (JST)
Subject: [ruby-changes:54113] naruse:r66334 (trunk): CentOS-7 (1810)'s header has O_TMPFILE but kernel doesn't support it

naruse	2018-12-11 17:44:00 +0900 (Tue, 11 Dec 2018)

  New Revision: 66334

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66334

  Log:
    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

  Modified files:
    trunk/test/ruby/test_file.rb
Index: test/ruby/test_file.rb
===================================================================
--- test/ruby/test_file.rb	(revision 66333)
+++ test/ruby/test_file.rb	(revision 66334)
@@ -504,6 +504,8 @@ class TestFile < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file.rb#L504
         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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]