From fdcabe021838fa9257b75f9a0fe04b76eee7d312 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 6 Jul 2023 20:26:40 +0200 Subject: dev-ruby/rspec-core: fix test regression https://github.com/rspec/rspec-core/pull/3039/commits Thanks to matoro for pointing this out. Signed-off-by: Hans de Graaff --- dev-ruby/rspec-core/rspec-core-3.12.2.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dev-ruby/rspec-core/rspec-core-3.12.2.ebuild') diff --git a/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild b/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild index 00fec35093f5..a27812f4aed8 100644 --- a/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild +++ b/dev-ruby/rspec-core/rspec-core-3.12.2.ebuild @@ -77,6 +77,9 @@ all_ruby_prepare() { # This fails when localhost resolves to ::1 which may be a # ruby regression in the drb/acl code. rm -f spec/rspec/core/bisect/server_spec.rb || die + + # Avoid old regression check (already fixed upstream) + sed -i -e '/uses only one thread local variable/askip "old safety check"' spec/rspec/core_spec.rb || die } each_ruby_prepare() { -- cgit v1.2.3-65-gdbad