Commit 0c9db23f authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

zdtm.py: skip the uns flavor if userns isn't suppported

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6af96c84
......@@ -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)
......
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