author | Sebastian Harl <sh@tokkee.org> | |
Wed, 18 Dec 2013 20:34:43 +0000 (21:34 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 18 Dec 2013 20:34:43 +0000 (21:34 +0100) | ||
commit | 6204a78be4e8853c5deb17390b54a6b1f4c5f6ca | |
tree | b79c36b603b81cc62daa9eb71c35176bb6de5a2a | tree | snapshot |
parent | 332916804abc0addbb14ae523c8aab4622b8a3ba | commit | diff |
frontend/sock_test: Try to connect to the server socket.
This verifies that the socket is actually usable.
Also, it fixes a race condition in the test. The UNIX socket file is already
created when adding the listener. Thus, the previous synchronization between
the main thread and the socket handler thread did not work in most cases.
This verifies that the socket is actually usable.
Also, it fixes a race condition in the test. The UNIX socket file is already
created when adding the listener. Thus, the previous synchronization between
the main thread and the socket handler thread did not work in most cases.
t/frontend/sock_test.c | diff | blob | history |