From afbc03ee15ff4cf9d9b14c24fce95c7c41caa5a7 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 25 Mar 2016 11:51:00 +0300 Subject: [PATCH] tests: remap_dead_pid[_root] -- Run in namespace only 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 Acked-by: Tycho Andersen Signed-off-by: Pavel Emelyanov --- 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 63df42aa6..593970609 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 63df42aa6..593970609 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'}