Make testsuite compatible with W32 again

This commit is contained in:
Evgeny Grin (Karlson2k)
2017-10-29 23:36:00 +03:00
parent a4320556aa
commit 21ce9bfad3
18 changed files with 127 additions and 11 deletions
+7 -1
View File
@@ -198,10 +198,16 @@ testExternalGet (int flags)
{
#ifdef MHD_POSIX_SOCKETS
if (EINTR != errno)
#endif /* MHD_POSIX_SOCKETS */
abort ();
#else
if (WSAEINVAL != WSAGetLastError() || 0 != rs.fd_count || 0 != ws.fd_count || 0 != es.fd_count)
abort ();
Sleep (1000);
#endif
}
}
else
sleep (1000);
curl_multi_perform (multi, &running);
if (running == 0)
{