Fix platformsocketengine test failures
authorShane Kearns <shane.kearns@accenture.com>
Wed, 12 Oct 2011 13:00:56 +0000 (14:00 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Oct 2011 14:17:45 +0000 (16:17 +0200)
commit450962be95cbde7c1b23aaa455bf7238e7b2513f
tree25592f2b3406698b881f218685bd1d45db9a033d
parenteba17baaed035e1e0848c71b485e4fede1ad398f
Fix platformsocketengine test failures

The platformsocketengine autotest uses the native socket engine directly
rather than through QAbstractSocket. The bind tests were failing because
the autotest was creating a socket with IPv4 (AF_INET) and then binding
with QHostAddress::Any (AF_INET6).
A linux kernel update caused this to start failing on the test machines.

Change-Id: Iea62f3d56dbfb35fcb952dcf00313578eb2bd764
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
tests/auto/network/socket/platformsocketengine/tst_platformsocketengine.cpp