diff options
Diffstat (limited to 'dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch')
-rw-r--r-- | dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch b/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch deleted file mode 100644 index 12565c1d8390..000000000000 --- a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-network-sandbox.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/spec/std/socket_spec.cr b/spec/std/socket_spec.cr -index 0caa51a..f21b3b3 100644 ---- a/spec/std/socket_spec.cr -+++ b/spec/std/socket_spec.cr -@@ -537,13 +537,15 @@ describe TCPSocket do - end - end - -- it "fails when host doesn't exist" do -+ # gentoo's FEATURES=network-sandbox blocks DNS -+ pending "fails when host doesn't exist" do - expect_raises(Socket::Error, /No address/i) do - TCPSocket.new("doesnotexist.example.org.", 12345) - end - end - -- it "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do -+ # gentoo's FEATURES=network-sandbox blocks DNS -+ pending "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do - expect_raises(Socket::Error, /No address/i) do - TCPSocket.new("doesnotexist.example.org.", 0) - end -@@ -634,7 +636,9 @@ describe UDPSocket do - client.close - end - -- it "broadcasts messages" do -+ # gentoo's FEATURES=network-sandbox blocks external network: -+ # connect: Network is unreachable -+ pending "broadcasts messages" do - port = free_udp_socket_port - - client = UDPSocket.new(Socket::Family::INET) |