ruby-changes:54912
From: nobu <ko1@a...>
Date: Fri, 22 Feb 2019 15:07:37 +0900 (JST)
Subject: [ruby-changes:54912] nobu:r67117 (trunk): File#birthtime depends on the kernel version on Linux
nobu 2019-02-22 15:07:30 +0900 (Fri, 22 Feb 2019) New Revision: 67117 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67117 Log: File#birthtime depends on the kernel version on Linux Modified files: trunk/spec/ruby/core/file/birthtime_spec.rb Index: spec/ruby/core/file/birthtime_spec.rb =================================================================== --- spec/ruby/core/file/birthtime_spec.rb (revision 67116) +++ spec/ruby/core/file/birthtime_spec.rb (revision 67117) @@ -50,9 +50,11 @@ describe "File#birthtime" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/file/birthtime_spec.rb#L50 end end - platform_is :linux, :openbsd do + platform_is :openbsd do it "raises an NotImplementedError" do lambda { @file.birthtime }.should raise_error(NotImplementedError) end end + + # TODO: depends on Linux kernel version end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/