From 20d4168250fb1f534cf2db7c44998b25252a70f8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 17 Jun 2022 14:37:15 +0900 Subject: Skip failing test on FreeBSD [ci skip] --- test/ruby/test_file_exhaustive.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/ruby/test_file_exhaustive.rb') diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 5a6c2bab73..8cd020533b 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -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) -- cgit v1.2.1