From 7e91b5a2bc51daa888985835fda3f789654afe0b Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Tue, 8 Jan 2013 18:53:15 +0000 Subject: Fix incorrectly disabled autotest One of the IPv6 autotests was always disabled instead of being disabled only when the system has no IPv6 support. Change-Id: I34dffbeae6ba85a706bfeb0cc4750a4514b73a65 Reviewed-by: Peter Hartmann --- tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp b/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp index dd8bdf58ff..a071c9fe55 100644 --- a/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp +++ b/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp @@ -1147,7 +1147,7 @@ void tst_QUdpSocket::multicastLeaveAfterClose() QFETCH(QHostAddress, groupAddress); if (setProxy) QSKIP("UDP Multicast does not work with proxies"); - if (groupAddress.protocol() == QAbstractSocket::IPv6Protocol) + if (!QtNetworkSettings::hasIPv6() && groupAddress.protocol() == QAbstractSocket::IPv6Protocol) QSKIP("system doesn't support ipv6!"); QUdpSocket udpSocket; -- cgit v1.2.3