dev-lang/ruby: skip test needing network

Debian also has https://sources.debian.org/patches/ruby3.3/3.3.7-1/test-test_bundled_ca-Skip-test-because-it-requires-i.patch/.

Closes: https://bugs.gentoo.org/932495
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-03-18 15:36:53 +00:00
parent abd77b2527
commit 2ad0e10437
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,7 @@ src_prepare() {
# Remove tests that are known to fail or require a network connection
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
rm -f test/rubygems/test_bundled_ca.rb || die
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb \
test/fiber/test_address_resolve.rb spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die

View File

@ -104,6 +104,7 @@ src_prepare() {
# Remove tests that are known to fail or require a network connection
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
rm -f test/rubygems/test_bundled_ca.rb || die
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb \
spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb|| die

View File

@ -117,6 +117,7 @@ src_prepare() {
# Remove tests that are known to fail or require a network connection
rm -f test/ruby/test_process.rb test/rubygems/test_gem{,_path_support}.rb || die
rm -f test/rubygems/test_bundled_ca.rb || die
rm -f test/rinda/test_rinda.rb test/socket/test_tcp.rb test/fiber/test_address_resolve.rb \
spec/ruby/library/socket/tcpsocket/{initialize,open}_spec.rb \
spec/ruby/library/socket/socket/connect_spec.rb || die