File: 06_tests_fail_with_ipv6.patch

package info (click to toggle)
capnproto 1.1.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,388 kB
  • sloc: cpp: 22,665; sh: 4,660; ansic: 720; makefile: 551; xml: 275
file content (15 lines) | stat: -rw-r--r-- 740 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: disable failing test when non-loopback interface is IPv6-only
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963855
Author: tony mancill <tmancill@debian.org>

--- a/src/kj/async-io-test.c++
+++ b/src/kj/async-io-test.c++
@@ -417,7 +417,7 @@
   //
   // For some reason, Android and some various Linux distros do not support service names.
   if (systemSupportsAddress("1.2.3.4", "http")) {
-    EXPECT_EQ("1.2.3.4:80", tryParse(w, network, "1.2.3.4:http", 5678));
+    //EXPECT_EQ("1.2.3.4:80", tryParse(w, network, "1.2.3.4:http", 5678));
     EXPECT_EQ("*:80", tryParse(w, network, "*:http", 5678));
   } else {
     KJ_LOG(WARNING, "system does not support resolving service names on ipv4; skipping tests");