[CRIU] [PATCH 3/3] use SIGKILL in remap_dead_pid test
Tycho Andersen
tycho.andersen at canonical.com
Tue Mar 31 08:32:36 PDT 2015
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: Tycho Andersen <tycho.andersen at canonical.com>
---
test/zdtm/live/static/remap_dead_pid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm/live/static/remap_dead_pid.c b/test/zdtm/live/static/remap_dead_pid.c
index 4e3953a..c16832d 100644
--- a/test/zdtm/live/static/remap_dead_pid.c
+++ b/test/zdtm/live/static/remap_dead_pid.c
@@ -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()");
--
2.1.0
More information about the CRIU
mailing list