1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip EPERM, like as r67102

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-02-22 06:22:24 +00:00
parent aa5dd6fe7e
commit 1ae52fcddf

View file

@ -630,7 +630,7 @@ class TestFileExhaustive < Test::Unit::TestCase
assert_kind_of(Time, t1) assert_kind_of(Time, t1)
assert_kind_of(Time, t2) assert_kind_of(Time, t2)
assert_equal(t1, t2) assert_equal(t1, t2)
rescue Errno::ENOSYS rescue Errno::ENOSYS, Errno::EPERM
# ignore unsupporting filesystems # ignore unsupporting filesystems
end end
assert_raise(Errno::ENOENT) { File.birthtime(nofile) } assert_raise(Errno::ENOENT) { File.birthtime(nofile) }