mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
fc90c4ec5d
commit
b9357e4d1b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue