aports/community/ruby-rugged/skip-online-tests.patch
Jakub Jirutka c6affb3ef8 community/ruby-rugged: fix build - skip online tests
1) Failure:
    RemoteNetworkTest#test_remote_check_connection_fetch [/builds/alpine/aports/community/ruby-rugged/src/rugged-1.4.2/test/remote_test.rb:26]:
    Expected false to be truthy.

      2) Error:
    RemoteNetworkTest#test_remote_network_connect:
    Rugged::NetworkError: remote error:
      The unauthenticated git protocol on port 9418 is no longer supported.
    Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
2022-04-04 19:24:23 +02:00

16 lines
242 B
Diff

Skip all online tests.
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -155,6 +156,10 @@
end
super
+ end
+ else
+ def before_setup
+ skip 'online tests have been disabled'
end
end