ws2_32: Win98 closesocket() does not wake up select.

This commit is contained in:
Kai Blin 2008-09-11 14:30:41 +02:00 committed by Alexandre Julliard
parent 93f1d48743
commit 4b4109a647
1 changed files with 3 additions and 1 deletions

View File

@ -1687,7 +1687,9 @@ static void test_select(void)
ok ( (ret == 0), "closesocket failed unexpectedly: %d\n", ret);
WaitForSingleObject (thread_handle, 1000);
ok ( (thread_params.ReadKilled), "closesocket did not wakeup select\n");
ok ( (thread_params.ReadKilled) ||
broken(thread_params.ReadKilled == 0), /*Win98*/
"closesocket did not wakeup select\n");
}