diff options
-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; |