diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-22 06:14:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-22 06:14:22 +0000 |
commit | aa5dd6fe7ef58b4d10eb3192c342043fbe8be8cd (patch) | |
tree | 647f6b350aaeba7c040bd1079c3157c43157c647 | |
parent | b9357e4d1b6f318d2ffa7323f14f01272ad336ee (diff) | |
download | ruby-aa5dd6fe7ef58b4d10eb3192c342043fbe8be8cd.tar.gz |
STATX_BTIME depends on filesystems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 57eb01b4ec..c3e5b59d2a 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -630,6 +630,8 @@ class TestFileExhaustive < Test::Unit::TestCase 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) |