summaryrefslogtreecommitdiff
path: root/dev-lang/crystal/files/crystal-0.26.0-gentoo-tests-network-sandbox-2.patch
blob: bfe23f9ade8e5360106e197893fd99d59fa9d116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/spec/std/http/server/server_spec.cr
+++ b/spec/std/http/server/server_spec.cr
@@ -381,7 +381,9 @@ module HTTP
     end
 
     describe "#bind_ssl" do
-      it "binds SSL server context" do
+      # gentoo's FEATURES=network-sandbox blocks external network:
+      #   connect: Connection timed out (Errno)
+      pending "binds SSL server context" do
         server = Server.new do |context|
           context.response.puts "Test Server (#{context.request.headers["Host"]?})"
           context.response.close
--- a/spec/std/http/web_socket_spec.cr
+++ b/spec/std/http/web_socket_spec.cr
@@ -335,4 +335,6 @@ describe HTTP::WebSocket do
   end
 
-  it "negotiates over HTTPS correctly" do
+  # gentoo's FEATURES=network-sandbox blocks external network:
+  #   connect: Connection timed out (Errno)
+  pending "negotiates over HTTPS correctly" do
     address_chan = Channel(Socket::IPAddress).new