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 c4cf5f0b76
might trigger and stop testing procedure.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2016-03-25 11:51:00 +03:00 committed by Pavel Emelyanov
parent a8fb0b99be
commit afbc03ee15
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
{'flavor': 'h'}
{'flavor': 'ns'}

View file

@ -1 +1 @@
{'flavor': 'h'}
{'flavor': 'ns'}