diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-10-01 08:36:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-10-01 08:44:39 +0200 |
commit | 268eb4a609d0438db8d9fbadac231b8b0ee5ffed (patch) | |
tree | bd0f3dad2ee1e18db1107762ca9d6d2ab1d5ae6f /dev-ruby/httpclient | |
parent | dev-python/wsgiproxy2: Bump (diff) | |
download | gentoo-268eb4a609d0438db8d9fbadac231b8b0ee5ffed.tar.gz gentoo-268eb4a609d0438db8d9fbadac231b8b0ee5ffed.tar.bz2 gentoo-268eb4a609d0438db8d9fbadac231b8b0ee5ffed.zip |
dev-ruby/httpclient: skip failing tests, bug 632454
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/httpclient')
-rw-r--r-- | dev-ruby/httpclient/httpclient-2.8.3.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
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() { |