mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
zdtm: fix missplacement of err=True
There is no 'err' argument for print(), it should be in grep_errors() in
line below.
Fixes: bed670f62 ("zdtm: print tails of all logs if a test has failed")
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
6b842635bd
commit
ef98a71b16
1 changed files with 2 additions and 2 deletions
|
|
@ -1485,8 +1485,8 @@ class criu:
|
|||
self.__page_server_p = None
|
||||
if self.__dump_process:
|
||||
self.__dump_process.terminate()
|
||||
print("criu dump exited with %s" % self.__dump_process.wait(), err=True)
|
||||
grep_errors(os.path.join(self.__ddir(), "dump.log"))
|
||||
print("criu dump exited with %s" % self.__dump_process.wait())
|
||||
grep_errors(os.path.join(self.__ddir(), "dump.log"), err=True)
|
||||
self.__dump_process = None
|
||||
if self.__img_streamer_process:
|
||||
self.__img_streamer_process.terminate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue