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

ruby-changes:54916

From: nobu <ko1@a...>
Date: Fri, 22 Feb 2019 15:43:18 +0900 (JST)
Subject: [ruby-changes:54916] nobu:r67121 (trunk): STATX_BTIME depends on filesystems

nobu	2019-02-22 15:43:11 +0900 (Fri, 22 Feb 2019)

  New Revision: 67121

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

  Log:
    STATX_BTIME depends on filesystems

  Modified files:
    trunk/test/pathname/test_pathname.rb
Index: test/pathname/test_pathname.rb
===================================================================
--- test/pathname/test_pathname.rb	(revision 67120)
+++ test/pathname/test_pathname.rb	(revision 67121)
@@ -797,6 +797,8 @@ class TestPathname < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/pathname/test_pathname.rb#L797
     rescue Errno::EPERM
       # Docker prohibits statx syscall by the default.
       skip("statx(2) is prohibited by seccomp")
+    rescue Errno::ENOSYS
+      skip("statx(2) is not supported on this filesystem")
     rescue NotImplementedError
       # assert_raise(NotImplementedError) do
       #   File.birthtime("a")

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

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