commit: 391802e94b4dcf522f7756dd8179016661ecf034 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Apr 17 18:26:29 2018 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Apr 17 18:26:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391802e9
dev-ruby/eventmachine: fix tests Avoid tests requiring either a network or obsolete SSL protocols. Closes: https://bugs.gentoo.org/648776 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild index 3fa90ddd8cb..af902ccb133 100644 --- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild +++ b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild @@ -50,6 +50,12 @@ all_ruby_prepare() { sed -i -e '/test_for_real/,/^ end/ s:^:#:' \ tests/test_pending_connect_timeout.rb || die rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die + sed -i -e '/test_ipv6_tcp_client_with_ipv6_google_com/aomit "network"' tests/test_ipv6.rb || die + # don't test unsecure and obsolete protocols + sed -i -e 's/sslv2 sslv3//' \ + -e '/\(test_any_to_v3\|test_v3_to_any\|test_v3_to_v3\|test_v3_with_external\)/aomit "obsolete"' \ + tests/test_ssl_protocols.rb || die + } each_ruby_configure() {