Fail test if waitpid() fails.