Commit 204c0771 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

use SIGKILL in remap_dead_pid test

For some undiagnosed reason, this test hangs for me when using SIGINT. Since we
always want to kill this process anyway, use SIGKILL instead.
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent c6fc3f1a
......@@ -45,7 +45,7 @@ int main(int argc, char **argv)
fd = open(path, O_RDONLY);
/* no matter what, we should kill the child */
kill(pid, SIGINT);
kill(pid, SIGKILL);
result = waitpid(pid, NULL, 0);
if (result < 0) {
fail("failed waitpid()");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment