ruby-changes:56346
From: Nobuyoshi <ko1@a...>
Date: Tue, 2 Jul 2019 22:22:37 +0900 (JST)
Subject: [ruby-changes:56346] Nobuyoshi Nakada: e9ea494171 (master): The behavior of statx(2) depends on the filesystem
https://git.ruby-lang.org/ruby.git/commit/?id=e9ea494171 From e9ea494171745cc22f458952b0aaf4443820caa9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 2 Jul 2019 22:10:11 +0900 Subject: The behavior of statx(2) depends on the filesystem birthtime may not be supported on some filesystems, and NotImplementedError can be raised. [Bug #15972] diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 0612a61..98a8946 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -630,7 +630,7 @@ class TestFileExhaustive < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L630 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. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/