Commit 70c0b47d authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Andrei Vagin

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: 's avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 3c9290d2
......@@ -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
......
{'dopts': '--tcp-established', 'ropts': '--tcp-close'}
{'dopts': '--tcp-established', 'ropts': '--tcp-close', 'flags': 'reqrst '}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment