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:
e73c1a0
)
lib/drmtest: double-check that we clean up helper processes
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 10 Sep 2013 15:41:49 +0000
(17:41 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 10 Sep 2013 16:22:17 +0000
(18:22 +0200)
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
76ddb95
..
a90e2af
100644
(file)
--- a/
lib/drmtest.c
+++ b/
lib/drmtest.c
@@
-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)