[CRIU] [PATCH 7/7] zdtm: use --check-mounts by default

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Feb 7 15:17:54 MSK 2019


Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 test/zdtm.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/zdtm.py b/test/zdtm.py
index 6dbf8c998..906268345 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -868,6 +868,9 @@ join_ns_file = '/run/netns/zdtm_netns'
 				inhfd.fd = int(fd[3:-1])
 				inhfd.key = key
 				continue
+			if arg == "--check-mounts":
+				criu.opts.check_mounts = True
+				continue
 
 			raise test_fail_exc('RPC for %s required' % arg)
 
@@ -1208,6 +1211,8 @@ join_ns_file = '/run/netns/zdtm_netns'
 			self.__lazy_pages_p = self.__criu_act("lazy-pages", opts = lp_opts, nowait = True)
 			r_opts += ["--lazy-pages"]
 
+		r_opts += ['--check-mounts']
+
 		if self.__leave_stopped:
 			r_opts += ['--leave-stopped']
 
-- 
2.20.1



More information about the CRIU mailing list