Commit d545b294 authored by Pekka Pessi's avatar Pekka Pessi

Corrected su_torture.c, Shutdown semantics differ on WINSOCK/BSDSOCK.

darcs-hash:20060215175830-65a35-9ba556df4af0033e6e46d5012a54a0ee16b9d111.gz
parent b94408c0
......@@ -242,7 +242,12 @@ int test_sendrecv(void)
shutdown(a, 2);
TEST(su_wait(w, 1, 100), 0);
#if SU_HAVE_WINSOCK
TEST_1(su_wait_events(w, s) & SU_WAIT_HUP);
#else
TEST_1(su_wait_events(w, s));
n = su_vrecv(s, rv, 3, 0, NULL, NULL); TEST(n, 0);
#endif
su_wait_destroy(w);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment