Lines Matching full:test
41 /* Size of tx,rx test buffers. */
511 /* Test the status bits, ignoring the length field. */ in emc_send_verify1()
543 /* Prepare test data buffer. */ in emc_send_verify()
656 /* Prepare test data buffer. */ in emc_recv_verify()
657 const char test[RX_DATA_LEN] = "TEST"; in emc_recv_verify() local
658 int len = htonl(sizeof(test)); in emc_recv_verify()
664 .iov_base = (char *) test, in emc_recv_verify()
665 .iov_len = sizeof(test), in emc_recv_verify()
670 * Reset the device BEFORE sending a test packet, otherwise the packet in emc_recv_verify()
671 * may get swallowed by an active device of an earlier test. in emc_recv_verify()
680 * Test doing/not-doing this for robustness. in emc_recv_verify()
686 /* Send test packet to device's socket. */ in emc_recv_verify()
687 ret = iov_send(fd, iov, 2, 0, sizeof(len) + sizeof(test)); in emc_recv_verify()
688 g_assert_cmpint(ret, == , sizeof(test) + sizeof(len)); in emc_recv_verify()
711 /* Test the status bits, ignoring the length field. */ in emc_recv_verify()
725 g_assert_cmpstr(buffer, == , "TEST"); in emc_recv_verify()
738 /* Prepare test data buffer. */ in emc_test_ptle()
754 * Reset the device BEFORE sending a test packet, otherwise the packet in emc_test_ptle()
755 * may get swallowed by an active device of an earlier test. in emc_test_ptle()
761 /* Send test packet to device's socket. */ in emc_test_ptle()
772 /* Test the status bits, ignoring the length field. */ in emc_test_ptle()