Commit 03aefa5c authored by Pekka Pessi's avatar Pekka Pessi

Fixed WIN32 test cases in libsofia-sip-ua/su/su_torture.c.

Using SU_WAIT_TIMEOUT and correct IP address.

darcs-hash:20051113184414-65a35-4e4279418e168e37b445728c6a674b82aab832a1.gz
parent 69800413
......@@ -203,7 +203,7 @@ int test_sendrecv(void)
memset(&su, 0, sulen);
su.su_len = sulen;
su.su_family = AF_INET;
TEST(inet_pton(AF_INET, "172.21.39.96", &su.su_sin.sin_addr), 1);
TEST(inet_pton(AF_INET, "127.0.0.1", &su.su_sin.sin_addr), 1);
TEST(bind(l, &su.su_sa, sulen), 0);
TEST(bind(s, &su.su_sa, sulen), 0);
......@@ -231,7 +231,7 @@ int test_sendrecv(void)
TEST(su_wait_create(w, s, SU_WAIT_IN | SU_WAIT_HUP), 0);
TEST(su_wait(w, 0, 500), -1);
TEST(su_wait(w, 0, 500), SU_WAIT_TIMEOUT);
TEST(su_wait(w, 1, 500), 0);
}
......
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