Home
last modified time | relevance | path

Searched refs:expected_msg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/net/socket/socketpair/src/
Dhappy_path.c18 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()
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_dtlib.py57 def verify_error(dts, expected_msg): argument
61 with dtlib_raises(expected_msg):
64 def verify_error_endswith(dts, expected_msg): argument
70 with dtlib_raises(err_endswith=expected_msg):