Fix check_ipc tests so they exit correctly
Fix check_ipc tests so they exit correctly

On some platforms the check_ipc test can fail due to SIGTERM
being delivered to to exiting server process. There is a race
condition between the server main loop quitting and the
signal being delivered.

This patch closes that race loophole in two places, firstly
it makes SIGTERM/SIGSTOP exit immediately rather than just signalling
the mainloop, secondly it calls exit() rather than return when the server
mainloop completes to that the client code does not start executing!

Signed-off-by: Christine Caulfield <992cedbe1eac7dbaff482fcb880a50b57e6b8062@redhat.com>

ClusterLabs/libqb,rubenk/libqb,gao-yan/libqb,kgaillot/libqb,rubenk/libqb,gao-yan/libqb,ClusterLabs/libqb,kgaillot/libqb,ClusterLabs/libqb,kgaillot/libqb