From 268eb4a609d0438db8d9fbadac231b8b0ee5ffed Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 1 Oct 2017 08:36:22 +0200 Subject: dev-ruby/httpclient: skip failing tests, bug 632454 Package-Manager: Portage-2.3.8, Repoman-2.3.2 --- dev-ruby/httpclient/httpclient-2.8.3.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-ruby/httpclient/httpclient-2.8.3.ebuild b/dev-ruby/httpclient/httpclient-2.8.3.ebuild index 62b42a2abb1d..31d579ef823e 100644 --- a/dev-ruby/httpclient/httpclient-2.8.3.ebuild +++ b/dev-ruby/httpclient/httpclient-2.8.3.ebuild @@ -3,7 +3,7 @@ EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24" +USE_RUBY="ruby22 ruby23 ruby24" RUBY_FAKEGEM_TASK_TEST="-Ilib test" RUBY_FAKEGEM_TASK_DOC="doc" @@ -54,6 +54,12 @@ all_ruby_prepare() { # Skip tests using rack-ntlm which is not packaged. Weirdly these # only fail on jruby. rm test/test_auth.rb || die + + # Skip test failing due to hard-coded expired certificate + sed -i -e '/test_verification_without_httpclient/,/^ end/ s:^:#:' test/test_ssl.rb || die + + # Skip test depending on obsolete and vulnerable SSLv3 + sed -i -e '/test_no_sslv3/,/^ end/ s:^:#:' test/test_ssl.rb || die } each_ruby_test() { -- cgit v1.2.3-65-gdbad