From f46c7be7ff4e22e7340474ded3ec0a5808bbbea9 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 21 Feb 2025 09:26:15 +0100 Subject: [PATCH] dev-ruby/rinda: avoid tests that require network access Signed-off-by: Hans de Graaff --- dev-ruby/rinda/rinda-0.2.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-ruby/rinda/rinda-0.2.0.ebuild b/dev-ruby/rinda/rinda-0.2.0.ebuild index dcbebd6d6ddd6..1e31bc409b6a6 100644 --- a/dev-ruby/rinda/rinda-0.2.0.ebuild +++ b/dev-ruby/rinda/rinda-0.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,6 +38,10 @@ all_ruby_prepare() { # another ruby instance. sed -e '/rubybin/ s:-rdrb/drb:-Ilib -rdrb/drb:' \ -i test/rinda/test_rinda.rb || die + + # Avoid tests requiring network device access + sed -e '/test_\(make_socket\|ring_server\)_ipv6_multicast/aomit "Requires network access"' \ + -i test/rinda/test_rinda.rb || die } each_ruby_test() {