GNOME Bugzilla – Bug 768551
Test failure: test_socket_address_to_string
Last modified: 2016-07-12 06:38:06 UTC
Building glib-2.48.1 on OS X 10.11 with xcode-7.3.1, I get a self-test failure in gio/tests: ERROR: inet-address - too few tests run (expected 11, got 6) ERROR: inet-address - exited with status 134 (terminated by signal 6?) From gio/tests/inet-address.log: PASS: inet-address 6 /socket-address/basic # GLib-GIO:ERROR:inet-address.c:258:test_socket_address_to_string: assertion failed (str == "[::80]:80"): ("[::0.0.0.128]:80" == "[::80]:80") ERROR: inet-address - too few tests run (expected 11, got 6) ERROR: inet-address - exited with status 134 (terminated by signal 6?)
I blame OS X, but fixed in master anyway
Created attachment 331277 [details] [review] Remove an erroneous check in the non-sendmmsg() version of g_socket_send_messages() -------- Philip, this is correct, right?
Comment on attachment 331277 [details] [review] Remove an erroneous check in the non-sendmmsg() version of g_socket_send_messages() oops, wrong bug
Re commit message – ::/96 is reserved specifically for "IPv4-compatible" addresses (where the end bytes are an embedded IPv4 address; same with ::ffff:0:0/96), so it makes sense for OS X to use the 'mixed' format here. See <https://tools.ietf.org/html/rfc1884#page-5>