Searched refs:MSGTYPE2 (Results 1 - 1 of 1) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
H A D | msgrcv07.c | 36 #define MSGTYPE2 2 macro 47 {MSGTYPE2, MSG2} 62 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); in test_msg_except() 71 tst_res(TPASS, "MSG_EXCEPT excepted MSGTYPE2 and got MSGTYPE1"); in test_msg_except() 150 if (strcmp(rcv_buf.mtext, MSG2) == 0 && rcv_buf.type == MSGTYPE2) in test_msg_copy() 151 tst_res(TPASS, "MSG_COPY got MSGTYPE2 data correctly"); in test_msg_copy() 153 tst_res(TFAIL, "MSG_COPY got MSGTYPE2 data incorrectly"); in test_msg_copy() 194 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, MSGTYPE2, 0)); in test_positive_msgtyp() 202 if (strcmp(rcv_buf.mtext, MSG2) == 0 && rcv_buf.type == MSGTYPE2) { in test_positive_msgtyp() 219 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, -MSGTYPE2, in test_negative_msgtyp() [all...] |
Completed in 1 milliseconds