mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
zdtm: skip 'tcp-close' tests if restore is skipped
'tcp-close' is a option that replaces connected tcp-sockets with 'closed' ones during restoring, therefore it have no sense without restore stage. Thus let's skip related tests if the 'norst' flag was specified. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
3c9290d278
commit
70c0b47d44
@ -1643,6 +1643,10 @@ def run_tests(opts):
|
||||
l.skip(t, "arch %s" % tdesc['arch'])
|
||||
continue
|
||||
|
||||
if test_flag(tdesc, 'reqrst') and opts['norst']:
|
||||
l.skip(t, "restore stage is required")
|
||||
continue
|
||||
|
||||
if run_all and test_flag(tdesc, 'noauto'):
|
||||
l.skip(t, "manual run only")
|
||||
continue
|
||||
|
@ -1 +1 @@
|
||||
{'dopts': '--tcp-established', 'ropts': '--tcp-close'}
|
||||
{'dopts': '--tcp-established', 'ropts': '--tcp-close', 'flags': 'reqrst '}
|
||||
|
Loading…
x
Reference in New Issue
Block a user