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

Skip failing test with freebsd

This commit is contained in:
Hiroshi SHIBATA 2022-05-30 18:40:26 +09:00
parent d6684f063b
commit a78f003c30
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -1407,6 +1407,8 @@ class TestFileExhaustive < Test::Unit::TestCase
end
def test_flock_exclusive
omit "[Bug #18613]" if /freebsd/=~ RUBY_PLATFORM
timeout = EnvUtil.apply_timeout_scale(0.1).to_s
File.open(regular_file, "r+") do |f|
f.flock(File::LOCK_EX)