From 8506ec11ab2489f3233530b39b6aa620e72f13b9 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Fri, 1 Oct 2021 01:23:08 +0100 Subject: [PATCH] test/criu: enable external ipc,uts,time namespaces Signed-off-by: Radostin Stoyanov --- tests/test_checkpoint_restore.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_checkpoint_restore.py b/tests/test_checkpoint_restore.py index f9aecd9fa5..ed4a47f6e5 100755 --- a/tests/test_checkpoint_restore.py +++ b/tests/test_checkpoint_restore.py @@ -99,6 +99,12 @@ def test_cr_with_ext_ns(): ns.update({'path': os.path.join(ns_path, 'pid')}) if ns['type'] == 'network': ns.update({'path': os.path.join(ns_path, 'net')}) + if ns['type'] == 'ipc': + ns.update({'path': os.path.join(ns_path, 'ipc')}) + if ns['type'] == 'uts': + ns.update({'path': os.path.join(ns_path, 'uts')}) + if ns['type'] == 'time': + ns.update({'path': os.path.join(ns_path, 'time')}) return run_cr_test(conf)