commit:     f46c7be7ff4e22e7340474ded3ec0a5808bbbea9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 21 08:26:15 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 08:28:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46c7be7

dev-ruby/rinda: avoid tests that require network access

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 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 dcbebd6d6ddd..1e31bc409b6a 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() {

Reply via email to