aboutsummaryrefslogtreecommitdiffstats
path: root/community/crystal/fix-spec-std-socket-tcp_server_spec.cr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/crystal/fix-spec-std-socket-tcp_server_spec.cr.patch')
-rw-r--r--community/crystal/fix-spec-std-socket-tcp_server_spec.cr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/crystal/fix-spec-std-socket-tcp_server_spec.cr.patch b/community/crystal/fix-spec-std-socket-tcp_server_spec.cr.patch
new file mode 100644
index 0000000000..ff0920020d
--- /dev/null
+++ b/community/crystal/fix-spec-std-socket-tcp_server_spec.cr.patch
@@ -0,0 +1,11 @@
+--- a/spec/std/socket/tcp_server_spec.cr 2019-02-05 14:51:38.000000000 +0000
++++ b/spec/std/socket/tcp_server_spec.cr 2019-02-19 19:15:23.202756036 +0000
+@@ -48,7 +48,7 @@
+ end
+ end
+
+- it "raises when not binding with reuse_port" do
++ pending "raises when not binding with reuse_port" do
+ TCPServer.open(address, 0, reuse_port: true) do |server|
+ expect_raises_errno(Errno::EADDRINUSE, {% if flag?(:linux) %}"listen: "{% else %}"bind: "{% end %}) do
+ TCPServer.open(address, server.local_address.port) { }