ws2_32/tests: Ensure we have more than one IP to test gethostbyname.
commita787321d622c4920e362310d825726c67d66a217
authorBruno Jesus <00cpxxx@gmail.com>
Thu, 26 Nov 2015 05:22:12 +0000 (26 13:22 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 26 Nov 2015 14:58:43 +0000 (26 23:58 +0900)
tree57a16bc86972f05baa68e5c697bd5ebf06f83f27
parentebacf05258bc5f8db39cc13275e254390569b63d
ws2_32/tests: Ensure we have more than one IP to test gethostbyname.

Sebastian called my attention about his machine that has a single IP and
make test fails. In such cases it is safe to assume that the IP returned
is the default route so the test is meaningless in this situation.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ws2_32/tests/sock.c