From b9357e4d1b6f318d2ffa7323f14f01272ad336ee Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 22 Feb 2019 06:07:30 +0000 Subject: File#birthtime depends on the kernel version on Linux git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/file/birthtime_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/ruby/core/file/birthtime_spec.rb b/spec/ruby/core/file/birthtime_spec.rb index 315a4d2be3..cab749f7b4 100644 --- a/spec/ruby/core/file/birthtime_spec.rb +++ b/spec/ruby/core/file/birthtime_spec.rb @@ -50,9 +50,11 @@ describe "File#birthtime" do 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 -- cgit v1.2.3