diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-03 17:57:06 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-03 17:57:06 +0100 |
commit | b34322fd15488eed8b7b20538cb1d50f43b4b132 (patch) | |
tree | 93277f4c47c279a1a2511d2b318561d8e045605c /lib | |
parent | 139c72f38a07c545f5a9ab5fa3750779987b9275 (diff) |
Revert "test/gem_concurrent_blt"
This reverts commit aee0dcb1ec2075991d310dd6f3fb5e50160847d1.
Oops, accidentally commit a bit of wip changes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/drmtest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c index 6f5b06c3..765dadce 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -1129,6 +1129,7 @@ static void fork_helper_exit_handler(int sig) bool __igt_fork_helper(struct igt_helper_process *proc) { pid_t pid; + sighandler_t oldsig; int id; assert(!proc->running); @@ -1145,6 +1146,7 @@ bool __igt_fork_helper(struct igt_helper_process *proc) * that inserting sufficient amounts of printf or other delays makes * this unnecessary. */ + oldsig = signal(SIGQUIT, SIG_DFL); switch (pid = fork()) { case -1: igt_assert(0); @@ -1155,6 +1157,8 @@ bool __igt_fork_helper(struct igt_helper_process *proc) return true; default: + signal(SIGQUIT, oldsig); + proc->running = true; proc->pid = pid; proc->id = id; |