summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-02 22:10:11 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-02 22:11:23 +0900
commite9ea494171745cc22f458952b0aaf4443820caa9 (patch)
treec17a05f47d52b11f865431071a5afcaf813ce934 /test/ruby/test_file_exhaustive.rb
parente8a2521abecc6738c3480ec9b3d8c7b341cb576f (diff)
The behavior of statx(2) depends on the filesystem
birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972]
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 0612a618d6..98a894698d 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -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.