projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb316a
)
lib/drmtest: don't frob signals in __igt_fork_helper
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 13:05:20 +0000
(15:05 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 13:05:20 +0000
(15:05 +0200)
We shut up the exit handlers already by clearing the array.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
patch
|
blob
|
history
diff --git
a/lib/drmtest.c
b/lib/drmtest.c
index
f2590d7
..
0d4aa55
100644
(file)
--- a/
lib/drmtest.c
+++ b/
lib/drmtest.c
@@
-992,7
+992,6
@@
bool __igt_fork_helper(struct igt_helper_process *proc)
igt_install_exit_handler(fork_helper_exit_handler);
- oldsig = signal(SIGQUIT, SIG_DFL);
switch (pid = fork()) {
case -1:
igt_assert(0);
@@
-1002,7
+1001,6
@@
bool __igt_fork_helper(struct igt_helper_process *proc)
return true;
default:
- signal(SIGQUIT, oldsig);
proc->running = true;
proc->pid = pid;
proc->id = id;