Lines Matching refs:client
1412 T_ASSERT_FAIL("No pid info in client creator info: %s", client_creator_info.UTF8String);
1776 T_ASSERT_MACH_SUCCESS(ret, "client mach_msg");
1806 T_QUIET; T_ASSERT_MACH_SUCCESS(kr, "client bootstrap_look_up");
1843 /* not expected to execute as parent will SIGKILL client... */
1844 T_LOG("client process exiting after sending message to parent (server)");
1886 * (part 1): tests the scenario where a client sends a request that includes a special reply port
1890 * (part 2): tests the scenario where a client sends a request that includes a special reply port
1892 * reply to the client. for this case the special reply port is copied out and the kernel
1922 …/* register with the mach service name so the client can lookup and send a message to the parent (…
1927 T_LOG("Launching client");
1930 T_LOG("Spawned client as PID %d", client_pid);
1936 * can_continue indicates the client has signaled us, but we want to make
1951 * receive the message from the client (which should copy the send once right into
1977 T_QUIET; T_ASSERT_MACH_SUCCESS(mr, "mach_msg() recieve of message from client");
1986 /* cleanup - kill the client */
1987 T_ASSERT_POSIX_SUCCESS(kill(client_pid, SIGKILL), "killing client");
1988 T_ASSERT_POSIX_SUCCESS(waitpid(client_pid, NULL, 0), "waiting for the client to exit");
1991 T_LOG("Launching client");
1994 T_LOG("Spawned client as PID %d", client_pid);
2000 * can_continue indicates the client has signaled us, but we want to make
2016 T_LOG("server: letting client go");
2017 // drop the message on the ground, we'll kill the client later
2030 /* cleanup - kill the client */
2031 T_ASSERT_POSIX_SUCCESS(kill(client_pid, SIGKILL), "killing client");
2032 T_ASSERT_POSIX_SUCCESS(waitpid(client_pid, NULL, 0), "waiting for the client to exit");
2036 "client that uses a connection port to send a message to a server")
2133 /* not expected to execute as parent will SIGKILL client */
2134 T_ASSERT_FAIL("client process exiting after receiving %s reply", dreply ? "non-null" : "null");
2154 /* Take stackshot when a client is blocked on the service port of a process, in the scenario when
2208 T_LOG("Spawned client as PID %d", client_pid);
2229 /* cleanup - kill the client */
2230 T_ASSERT_POSIX_SUCCESS(kill(client_pid, SIGKILL), "killing client");
2231 T_ASSERT_POSIX_SUCCESS(waitpid(client_pid, NULL, 0), "waiting for the client to exit");