mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
test/zdtm/inhfd: update dump options one each iteration
This allows to run inhfd tests with many iterations of C/R. Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
f5181b2767
commit
d68a68b8f4
@ -757,6 +757,11 @@ class inhfd_test:
|
||||
fcntl.fcntl(fd, fcntl.F_SETFD, fdflags)
|
||||
peer_file_name = self.__peer_file_names[i]
|
||||
ropts.extend(["--inherit-fd", "fd[%d]:%s" % (fd, peer_file_name)])
|
||||
self.__peer_file_names = []
|
||||
self.__dump_opts = []
|
||||
for _, peer_file in self.__files:
|
||||
self.__peer_file_names.append(self.__fdtyp.filename(peer_file))
|
||||
self.__dump_opts += self.__fdtyp.dump_opts(peer_file)
|
||||
return ropts
|
||||
|
||||
def print_output(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user