diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-18 17:53:05 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-18 17:56:02 +0200 |
commit | 5038b7e4c243b4e9d07db34a33c70adbec044370 (patch) | |
tree | f6c51b041a90041d4f9a7b2bd9146a7c254ff91e /lib/drmtest.c | |
parent | 768e32a3ab5e45cc52558fb544d392729e02f1ae (diff) |
lib: fix the assert in igt_stop_helper
So much for developing different patches on different machines and
then not retesting after rebasing. Reported by Ben on irc.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r-- | lib/drmtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 706357de..0e65cdd8 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -1085,7 +1085,8 @@ void igt_stop_helper(struct igt_helper_process *proc) while (waitpid(proc->pid, &status, 0) == -1 && errno == -EINTR) ; - igt_assert(WIFSIGNALED(status) && WTERMSIG(status) == SIGQUIT); + igt_assert(WIFSIGNALED(status) && + WTERMSIG(status) == (proc->use_SIGKILL ? SIGKILL : SIGQUIT)); proc->running = false; |