lib/drmtest: double-check that we clean up helper processes

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-09-10 17:41:49 +02:00
parent e73c1a07f3
commit 57e6746181

View File

@ -967,8 +967,11 @@ static void fork_helper_exit_handler(int sig)
kill(pid, SIGQUIT);
waitpid(pid, &status, 0);
helper_process_count--;
}
}
assert(helper_process_count == 0);
}
bool __igt_fork_helper(struct igt_helper_process *proc)