Commit 31836c95 authored by Pekka Pessi's avatar Pekka Pessi

test_tport.c: disable TCP test on Windows

darcs-hash:20070416192059-55b16-8eefdd15e1c80bba5f1c9c5f44f606b3114b54c7.gz
parent 7a9bf14e
......@@ -773,13 +773,15 @@ static int udp_test(tp_test_t *tt)
static int tcp_test(tp_test_t *tt)
{
BEGIN();
#ifndef WIN32 /* Windows seems to be buffering too much */
msg_t *msg = NULL;
int i;
tport_t *tp, *tp0;
char ident[16];
BEGIN();
/* Create a large message, just to force queueing in sending end */
TEST(new_test_msg(tt, &msg, "tcp-0", 1, 16 * 64 * 1024), 0);
test_create_md5(tt, msg);
......@@ -856,6 +858,8 @@ static int tcp_test(tp_test_t *tt)
tport_decref(&tp0);
#endif
END();
}
......
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