File: disable-udp-multicast-specs.diff

package info (click to toggle)
crystal 1.18.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,712 kB
  • sloc: javascript: 6,400; sh: 769; makefile: 300; ansic: 121; python: 105; cpp: 77; xml: 32
file content (28 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Disable multicast specs
 Disable specs with udp multicast sockets (seems disabled on builddd machines).
Author: David Suárez <deiv@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2021-11-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/std/socket/udp_socket_spec.cr
+++ b/spec/std/socket/udp_socket_spec.cr
@@ -100,7 +100,7 @@
       # FIXME: fails with "setsockopt: EINVAL (ipv4) or EADDRNOTAVAIL (ipv6)"
       pending "joins and transmits to multicast groups"
     else
-      it "joins and transmits to multicast groups" do
+      pending "joins and transmits to multicast groups" do
         udp = UDPSocket.new(family)
         port = unused_local_udp_port
         udp.bind(unspecified_address, port)
@@ -191,7 +191,7 @@
     # send UDP broadcasts might need extra requirements.
     pending "sends broadcast message"
   {% else %}
-    it "sends broadcast message" do
+    pending "sends broadcast message" do
       server = UDPSocket.new(Socket::Family::INET)
       server.bind("0.0.0.0", 0)
       addr = Socket::IPAddress.new("255.255.255.255", server.local_address.port)