1
0
Fork 0
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:
Nobuyoshi Nakada 2019-07-02 22:10:11 +09:00
parent e8a2521abe
commit e9ea494171
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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.