[CRIU] [PATCH cr 2/2] zdtm: move all logic about namespaces from
test_init in libzdtm
Andrey Vagin
avagin at openvz.org
Mon Aug 13 08:22:19 EDT 2012
A test will be executed in new set of namespaces if the environment
variable ZDTM_NEWNS is set. A pid of the root task will be written in
$ZDTM_PIDFILE and a root fyle system will be changed on $ZDTM_ROOT.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/zdtm.sh | 30 +++-
test/zdtm/lib/Makefile | 6 +-
test/zdtm/lib/ns.c | 323 ++++++++++++++++++++++++++++++++++++
test/zdtm/lib/ns.h | 13 ++
test/zdtm/lib/test.c | 23 +++-
test/zdtm/lib/test_init.c | 245 ---------------------------
test/zdtm/live/static/Makefile | 8 +-
test/zdtm/live/static/inotify00.c | 2 -
test/zdtm/live/streaming/Makefile | 4 +-
test/zdtm/live/transition/Makefile | 2 +-
10 files changed, 392 insertions(+), 264 deletions(-)
create mode 100644 test/zdtm/lib/ns.c
create mode 100644 test/zdtm/lib/ns.h
delete mode 100644 test/zdtm/lib/test_init.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-zdtm-move-all-logic-about-namespaces-from-test_init-.patch
Type: text/x-patch
Size: 18619 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120813/81dc65d4/0002-zdtm-move-all-logic-about-namespaces-from-test_init--0001.bin
More information about the CRIU
mailing list