mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
zdtm: Distinguish between fail and crash of dump
Adds a exit_signal static method to criu_cli, criu_config and criu_rpc used to detect a crash. Fixes: #350 Signed-off-by: Bhavik Sachdev <b.sachdev1904@gmail.com>
This commit is contained in:
committed by
Andrei Vagin
parent
6feb57a840
commit
a252a240c3
@@ -41,3 +41,7 @@ class criu_config:
|
||||
if nowait:
|
||||
return cr
|
||||
return cr.wait()
|
||||
|
||||
@staticmethod
|
||||
def exit_signal(ret):
|
||||
return ret < 0
|
||||
|
Reference in New Issue
Block a user