run_test

Makes a test. Starts the client in its own process, then starts the server in the current process and waits for them to finish. The client sends a message, gets an answer, compares the two strings and exits. The server opens the socket, accepts one request, reads the message, replies with the same message and exits (no more requests are handled).

void
run_test

Parameters

socket_path istring

the unix socket path.

Throws

an exception if something goes wrong

Meta