[CRIU] [PATCH 5/5] zdtm: show errors for a second attempt of the same action
Andrey Vagin
avagin at openvz.org
Wed May 11 13:37:07 PDT 2016
From: Andrew Vagin <avagin at virtuozzo.com>
Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
test/zdtm.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/zdtm.py b/test/zdtm.py
index 1c5b4ba..06f4d8f 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -700,7 +700,9 @@ class criu_cli:
# on restore we move only a log file, because we need images
os.rename(os.path.join(__ddir, log), os.path.join(__ddir, log + ".fail"))
# try again without faults
+ print "Run criu " + action
ret = self.__criu(action, s_args, False, strace, preexec)
+ grep_errors(os.path.join(__ddir, log))
if ret == 0:
return
if self.__test.blocking() or (self.__sat and action == 'restore'):
--
2.7.4
More information about the CRIU
mailing list