summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-05-30 18:40:26 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-05-30 18:40:31 +0900
commita78f003c30dde0a303eb15fc073bc6c57df1cfc2 (patch)
treecf873cd39847fd1aecf9510670843efc5fc9f53b /test/ruby/test_file_exhaustive.rb
parentd6684f063bc53e3cab025bd39526eca3b480b5e7 (diff)
Skip failing test with freebsd
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 579e4d77a9..5a6c2bab73 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -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)