dev-ruby/faraday: avoid live network test

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Hans de Graaff
2018-11-25 11:09:41 +01:00
parent 42a8298b30
commit d5bc2dd6aa
+4 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -48,6 +48,9 @@ all_ruby_prepare() {
# Remove tests for adapters that are not packaged for Gentoo.
rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
# Remove tests against live services
sed -i -e '/test_dynamic_no_proxy/askip "live network test"' test/connection_test.rb || die
# The proxy server is already killed, may be OS X vs Linux issue.
sed -i -e '138 s/^/#/' script/test || die