diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-17 20:26:29 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-17 20:26:54 +0200 |
commit | 391802e94b4dcf522f7756dd8179016661ecf034 (patch) | |
tree | 699578e460328102bf944cbf7d100927e7f9be46 /dev-ruby/eventmachine | |
parent | media-libs/fontconfig: Rev bump to add DEPEND on virtual/libintl (diff) | |
download | gentoo-391802e94b4dcf522f7756dd8179016661ecf034.tar.gz gentoo-391802e94b4dcf522f7756dd8179016661ecf034.tar.bz2 gentoo-391802e94b4dcf522f7756dd8179016661ecf034.zip |
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
Diffstat (limited to 'dev-ruby/eventmachine')
-rw-r--r-- | dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild index 3fa90ddd8cb6..af902ccb1330 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() { |