[CRIU] [PATCH 3/3] zdtm: always run criu dump with --track-mem if --snaps is set

Andrei Vagin avagin at virtuozzo.com
Sat Apr 28 09:02:31 MSK 2018


Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index 633de9a6d..353142880 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1235,7 +1235,7 @@ def cr(cr_api, test, opts):
 		pres = iter_parm(opts['pre'], 0)
 		for p in pres[0]:
 			if opts['snaps']:
-				cr_api.dump("dump", opts = ["--leave-running"])
+				cr_api.dump("dump", opts = ["--leave-running", "--track-mem"])
 			else:
 				cr_api.dump("pre-dump")
 				try_run_hook(test, ["--post-pre-dump"])
-- 
2.14.3



More information about the CRIU mailing list