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

ruby-changes:54898

From: nobu <ko1@a...>
Date: Wed, 20 Feb 2019 18:55:30 +0900 (JST)
Subject: [ruby-changes:54898] nobu:r67103 (trunk): Do not test File class method

nobu	2019-02-20 18:55:25 +0900 (Wed, 20 Feb 2019)

  New Revision: 67103

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

  Log:
    Do not test File class method
    
    It fails by EPERM for unknown reason.

  Modified files:
    trunk/test/pathname/test_pathname.rb
Index: test/pathname/test_pathname.rb
===================================================================
--- test/pathname/test_pathname.rb	(revision 67102)
+++ test/pathname/test_pathname.rb	(revision 67103)
@@ -798,9 +798,9 @@ class TestPathname < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/pathname/test_pathname.rb#L798
       # Docker prohibits statx syscall by the default.
       skip("statx(2) is prohibited by seccomp")
     rescue NotImplementedError
-      assert_raise(NotImplementedError) do
-        File.birthtime("a")
-      end
+      # assert_raise(NotImplementedError) do
+      #   File.birthtime("a")
+      # end
     end
   end
 

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

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