2
0
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:
Andrew Vagin
2015-12-07 08:17:00 +03:00
committed by Pavel Emelyanov
parent 6af96c8404
commit 0c9db23f50

View File

@@ -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)