mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
The behavior of statx(2) depends on the filesystem
birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972]
This commit is contained in:
parent
e8a2521abe
commit
e9ea494171
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
assert_kind_of(Time, t1)
|
||||
assert_kind_of(Time, t2)
|
||||
assert_equal(t1, t2)
|
||||
rescue Errno::ENOSYS
|
||||
rescue Errno::ENOSYS, NotImplementedError
|
||||
# ignore unsupporting filesystems
|
||||
rescue Errno::EPERM
|
||||
# Docker prohibits statx syscall by the default.
|
||||
|
|
Loading…
Add table
Reference in a new issue