mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 23:05:39 +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)
|
run_flavs = set(test_flavs) & set(opts_flavs)
|
||||||
else:
|
else:
|
||||||
run_flavs = set([test_flavs.pop()])
|
run_flavs = set([test_flavs.pop()])
|
||||||
|
if not criu_cli.check("userns"):
|
||||||
|
run_flavs.remove("uns")
|
||||||
|
|
||||||
|
|
||||||
if run_flavs:
|
if run_flavs:
|
||||||
l.run_test(t, tdesc, run_flavs)
|
l.run_test(t, tdesc, run_flavs)
|
||||||
|
Reference in New Issue
Block a user