Home
last modified time | relevance | path

Searched refs:MSGTYPE1 (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
H A Dmsgrcv07.c35 #define MSGTYPE1 1 macro
46 {MSGTYPE1, MSG1},
70 if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) in test_msg_except()
71 tst_res(TPASS, "MSG_EXCEPT excepted MSGTYPE2 and got MSGTYPE1"); in test_msg_except()
73 tst_res(TFAIL, "MSG_EXCEPT didn't get MSGTYPE1 message"); in test_msg_except()
89 TEST(msgrcv(queue_id, &rcv_buf, msg_len, MSGTYPE1, MSG_NOERROR)); in test_msg_noerror()
97 if (strncmp(rcv_buf.mtext, MSG1, msg_len) == 0 && rcv_buf.type == MSGTYPE1) in test_msg_noerror()
136 if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) in test_msg_copy()
137 tst_res(TPASS, "MSG_COPY got MSGTYPE1 data correctly"); in test_msg_copy()
139 tst_res(TFAIL, "MSG_COPY got MSGTYPE1 dat in test_msg_copy()
[all...]

Completed in 1 milliseconds