Commit 3d5ee999 authored by Andrei Vagin's avatar Andrei Vagin

zdtm: always run criu dump with --track-mem if --snaps is set

Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 8f7a5294
...@@ -1147,7 +1147,7 @@ def cr(cr_api, test, opts): ...@@ -1147,7 +1147,7 @@ def cr(cr_api, test, opts):
pres = iter_parm(opts['pre'], 0) pres = iter_parm(opts['pre'], 0)
for p in pres[0]: for p in pres[0]:
if opts['snaps']: if opts['snaps']:
cr_api.dump("dump", opts = ["--leave-running"]) cr_api.dump("dump", opts = ["--leave-running", "--track-mem"])
else: else:
cr_api.dump("pre-dump") cr_api.dump("pre-dump")
try_run_hook(test, ["--post-pre-dump"]) try_run_hook(test, ["--post-pre-dump"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment