Commit 231b61d6 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: don't skip userns test cases

Currently we skip all userns tests if "criu check" fails. This code was
written when the "freature" options of criu check didn't exist.

Currently we add userns tests only if "criu check --feature userns" passes.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7bda5bd6
...@@ -656,10 +656,6 @@ run_test() ...@@ -656,10 +656,6 @@ run_test()
echo "Skip $test" echo "Skip $test"
return 0 return 0
fi fi
expr $test : 'ns/user' > /dev/null && {
echo "Skip $test"
return 0
}
fi fi
expr "$test" : 'ns/' > /dev/null && PIDNS=1 || PIDNS="" expr "$test" : 'ns/' > /dev/null && PIDNS=1 || PIDNS=""
......
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