ruby-changes:54913
From: nobu <ko1@a...>
Date: Fri, 22 Feb 2019 15:14:34 +0900 (JST)
Subject: [ruby-changes:54913] nobu:r67118 (trunk): STATX_BTIME depends on filesystems
nobu 2019-02-22 15:14:22 +0900 (Fri, 22 Feb 2019) New Revision: 67118 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67118 Log: STATX_BTIME depends on filesystems Modified files: trunk/test/ruby/test_file_exhaustive.rb Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 67117) +++ test/ruby/test_file_exhaustive.rb (revision 67118) @@ -630,6 +630,8 @@ class TestFileExhaustive < Test::Unit::T 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 + # ignore unsupporting filesystems end assert_raise(Errno::ENOENT) { File.birthtime(nofile) } end if File.respond_to?(:birthtime) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/