2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

zdtm: add post-predump hook

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Andrew Vagin 2016-03-16 21:22:10 +03:00 committed by Pavel Emelyanov
parent c5c5434506
commit c5880ba2cf

View File

@ -806,6 +806,7 @@ def cr(cr_api, test, opts):
cr_api.dump("dump", opts = ["--leave-running"])
else:
cr_api.dump("pre-dump")
try_run_hook(test, ["--post-pre-dump"])
time.sleep(pres[1])
sbs('pre-dump')