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

Skip failing test on FreeBSD [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2022-06-17 14:37:15 +09:00
parent 420f3ced4d
commit 20d4168250
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

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