Searched refs:expected_msg (Results 1 – 1 of 1) sorted by relevance
| /tests/net/socket/socketpair/src/ |
| A D | happy_path.c | 18 const char *expected_msg = "Hello, socketpair(2) world!"; in happy_path() local 19 const unsigned int expected_msg_len = strlen(expected_msg); in happy_path() 33 res = zsock_send(fixture->sv[i], expected_msg, expected_msg_len, 0); in happy_path() 49 zassert_true(strncmp(expected_msg, actual_msg, in happy_path() 57 res = zsock_sendto(fixture->sv[i], expected_msg, expected_msg_len, 0, NULL, 0); in happy_path() 74 zassert_true(strncmp(expected_msg, actual_msg, in happy_path() 85 iovec.iov_base = (void *)expected_msg; in happy_path() 102 zassert_true(strncmp(expected_msg, actual_msg, in happy_path()
|
Completed in 7 milliseconds