qt5base-lts/tests/auto/network
Thiago Macieira 198c59dbce tst_QUdpSocket: always use an interface when binding to IPv6
Binding without an interface and expecting the OS to select something is
not supported in all OSes. On FreeBSD, I keep getting EADDRNOTAVAIL. So
modify our test to only join, leave and send to multicast groups with an
interface selection.

With this, all tests either pass or are skipped for me on Linux,
FreeBSD, and macOS. On Windows, this revealed an inconsistency in
behavior, which this commit adds a workaround for.

Change-Id: Ifb5969bf206e4cd7b14efffd14fb6815456494d2
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2017-12-29 00:10:54 +00:00
..
access Merge remote-tracking branch 'origin/5.9' into 5.10 2017-12-05 13:37:21 +01:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
kernel Merge remote-tracking branch 'origin/5.9' into 5.10 2017-11-28 11:23:35 +01:00
socket tst_QUdpSocket: always use an interface when binding to IPv6 2017-12-29 00:10:54 +00:00
ssl Merge remote-tracking branch 'origin/5.9' into 5.10 2017-11-23 12:52:18 +01:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00