mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
STATX_BTIME depends on filesystems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b9357e4d1b
commit
aa5dd6fe7e
1 changed files with 2 additions and 0 deletions
|
@ -630,6 +630,8 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
assert_kind_of(Time, t1)
|
||||
assert_kind_of(Time, t2)
|
||||
assert_equal(t1, t2)
|
||||
rescue Errno::ENOSYS
|
||||
# ignore unsupporting filesystems
|
||||
end
|
||||
assert_raise(Errno::ENOENT) { File.birthtime(nofile) }
|
||||
end if File.respond_to?(:birthtime)
|
||||
|
|
Loading…
Add table
Reference in a new issue