syscalls/ipc/shmctl01: Use TST_PROCESS_STATE_WAIT()

Instead of the sync_pipe() and sleep().

This reduces runtime from 3s to 1s.

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