Lines Matching full:test
38 char test[] = "TEST"; in rx_test() local
40 int len = htonl(sizeof(test)); in rx_test()
46 .iov_base = test, in rx_test()
47 .iov_len = sizeof(test), in rx_test()
57 ret = iov_send(socket, iov, 2, 0, sizeof(len) + sizeof(test)); in rx_test()
58 g_assert_cmpint(ret, ==, sizeof(test) + sizeof(len)); in rx_test()
62 memread(req_addr + VNET_HDR_SIZE, buffer, sizeof(test)); in rx_test()
63 g_assert_cmpstr(buffer, ==, "TEST"); in rx_test()
80 memwrite(req_addr + VNET_HDR_SIZE, "TEST", 4); in tx_test()
95 g_assert_cmpstr(buffer, ==, "TEST"); in tx_test()
105 char test[] = "TEST"; in rx_stop_cont_test() local
107 int len = htonl(sizeof(test)); in rx_stop_cont_test()
114 .iov_base = test, in rx_stop_cont_test()
115 .iov_len = sizeof(test), in rx_stop_cont_test()
128 ret = iov_send(socket, iov, 2, 0, sizeof(len) + sizeof(test)); in rx_stop_cont_test()
129 g_assert_cmpint(ret, ==, sizeof(test) + sizeof(len)); in rx_stop_cont_test()
141 memread(req_addr + VNET_HDR_SIZE, buffer, sizeof(test)); in rx_stop_cont_test()
142 g_assert_cmpstr(buffer, ==, "TEST"); in rx_stop_cont_test()