mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +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:
committed by
Pavel Emelyanov
parent
c5c5434506
commit
c5880ba2cf
@@ -806,6 +806,7 @@ def cr(cr_api, test, opts):
|
|||||||
cr_api.dump("dump", opts = ["--leave-running"])
|
cr_api.dump("dump", opts = ["--leave-running"])
|
||||||
else:
|
else:
|
||||||
cr_api.dump("pre-dump")
|
cr_api.dump("pre-dump")
|
||||||
|
try_run_hook(test, ["--post-pre-dump"])
|
||||||
time.sleep(pres[1])
|
time.sleep(pres[1])
|
||||||
|
|
||||||
sbs('pre-dump')
|
sbs('pre-dump')
|
||||||
|
Reference in New Issue
Block a user