mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
zdtm: open notify file descriptors in a binary mode
Send pre-dump notify to 36 Traceback (most recent call last): File "zdtm.py", line 2161, in <module> do_run_test(tinfo[0], tinfo[1], tinfo[2], tinfo[3]) File "zdtm.py", line 1549, in do_run_test cr(cr_api, t, opts) File "zdtm.py", line 1264, in cr test.pre_dump_notify() File "zdtm.py", line 490, in pre_dump_notify fdin.write(struct.pack("i", 0)) TypeError: write() argument 1 must be unicode, not str Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
7e5e1ff29a
commit
a7cc23c0f5
@@ -467,7 +467,7 @@ class zdtm_test:
|
||||
print_sep(self.__name + '.out.inprogress')
|
||||
print(open(self.__name + '.out.inprogress').read())
|
||||
print_sep(self.__name + '.out.inprogress')
|
||||
raise test_fail_exc("result check: %s" % list(map(lambda s: s.strip(), res.split())) + res)
|
||||
raise test_fail_exc("result check")
|
||||
|
||||
def getpid(self):
|
||||
if self.__pid == 0:
|
||||
|
Reference in New Issue
Block a user