ruby-changes:72207
From: Nobuyoshi <ko1@a...>
Date: Fri, 17 Jun 2022 14:37:37 +0900 (JST)
Subject: [ruby-changes:72207] 20d4168250 (master): Skip failing test on FreeBSD [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=20d4168250 From 20d4168250fb1f534cf2db7c44998b25252a70f8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> 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(-) 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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1407 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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1438 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/