mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
lib/drmtest: don't frob signals in __igt_fork_helper
We shut up the exit handlers already by clearing the array. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
9fb316a6db
commit
661f252f7e
@ -992,7 +992,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
|
|||||||
|
|
||||||
igt_install_exit_handler(fork_helper_exit_handler);
|
igt_install_exit_handler(fork_helper_exit_handler);
|
||||||
|
|
||||||
oldsig = signal(SIGQUIT, SIG_DFL);
|
|
||||||
switch (pid = fork()) {
|
switch (pid = fork()) {
|
||||||
case -1:
|
case -1:
|
||||||
igt_assert(0);
|
igt_assert(0);
|
||||||
@ -1002,7 +1001,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
signal(SIGQUIT, oldsig);
|
|
||||||
proc->running = true;
|
proc->running = true;
|
||||||
proc->pid = pid;
|
proc->pid = pid;
|
||||||
proc->id = id;
|
proc->id = id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user