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@67121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
def040f6c3
commit
4af7f77d0f
1 changed files with 2 additions and 0 deletions
|
@ -797,6 +797,8 @@ class TestPathname < Test::Unit::TestCase
|
||||||
rescue Errno::EPERM
|
rescue Errno::EPERM
|
||||||
# Docker prohibits statx syscall by the default.
|
# Docker prohibits statx syscall by the default.
|
||||||
skip("statx(2) is prohibited by seccomp")
|
skip("statx(2) is prohibited by seccomp")
|
||||||
|
rescue Errno::ENOSYS
|
||||||
|
skip("statx(2) is not supported on this filesystem")
|
||||||
rescue NotImplementedError
|
rescue NotImplementedError
|
||||||
# assert_raise(NotImplementedError) do
|
# assert_raise(NotImplementedError) do
|
||||||
# File.birthtime("a")
|
# File.birthtime("a")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue