[CRIU] [PATCH] tests: remap_dead_pid[_root] -- Run in namespace only

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 25 01:51:35 PDT 2016


These tests check for file descriptor being assigned
to the pid which is freed already, so check them
in PID namespace only, otherwise the kernel may
give PID someone else and the check from
commit c4cf5f0b7638a679be65b05bdb8269d34c2a4573
might trigger and stop testing procedure.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 test/zdtm/static/remap_dead_pid.desc      | 2 +-
 test/zdtm/static/remap_dead_pid_root.desc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/zdtm/static/remap_dead_pid.desc b/test/zdtm/static/remap_dead_pid.desc
index 63df42aa670a..59397060919d 100644
--- a/test/zdtm/static/remap_dead_pid.desc
+++ b/test/zdtm/static/remap_dead_pid.desc
@@ -1 +1 @@
-{'flavor': 'h'}
+{'flavor': 'ns'}
diff --git a/test/zdtm/static/remap_dead_pid_root.desc b/test/zdtm/static/remap_dead_pid_root.desc
index 63df42aa670a..59397060919d 100644
--- a/test/zdtm/static/remap_dead_pid_root.desc
+++ b/test/zdtm/static/remap_dead_pid_root.desc
@@ -1 +1 @@
-{'flavor': 'h'}
+{'flavor': 'ns'}
-- 
2.5.5



More information about the CRIU mailing list