diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-02 22:10:11 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-02 22:11:23 +0900 |
commit | e9ea494171745cc22f458952b0aaf4443820caa9 (patch) | |
tree | c17a05f47d52b11f865431071a5afcaf813ce934 /test | |
parent | e8a2521abecc6738c3480ec9b3d8c7b341cb576f (diff) | |
download | ruby-e9ea494171745cc22f458952b0aaf4443820caa9.tar.gz |
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')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
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. |