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

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-02-21 09:26:15 +01:00
parent b7d9b1b998
commit f46c7be7ff

View File

@@ -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() {