syscalls/ipc/semctl01: Use TST_PROCESS_STATE_WAIT()

Instead of the sync_pipe() and sleep().

This reduces runtime from 3s to 0.1s.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
1 file changed