summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-17 14:37:15 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-17 14:37:15 +0900
commit20d4168250fb1f534cf2db7c44998b25252a70f8 (patch)
treee539637b55f5c442778784793540c49dcafddd6e /test/ruby/test_file_exhaustive.rb
parent420f3ced4d25c0e81d06f3186c8cfdc509326268 (diff)
Skip failing test on FreeBSD [ci skip]
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r--test/ruby/test_file_exhaustive.rb4
1 files changed, 3 insertions, 1 deletions
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)