mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
zdtm.py: skip the uns flavor if userns isn't suppported
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
6af96c8404
commit
0c9db23f50
@@ -974,6 +974,9 @@ def run_tests(opts):
|
||||
run_flavs = set(test_flavs) & set(opts_flavs)
|
||||
else:
|
||||
run_flavs = set([test_flavs.pop()])
|
||||
if not criu_cli.check("userns"):
|
||||
run_flavs.remove("uns")
|
||||
|
||||
|
||||
if run_flavs:
|
||||
l.run_test(t, tdesc, run_flavs)
|
||||
|
Reference in New Issue
Block a user