criu tests: rename criu feature check

Upstream renamed the feature check for lazy migration support from
'lazy_pages' to 'uffd'. The lazy migration test case was therefore
not running at all. This enables the lazy migration test case in runc
again.

The test will, however, not run in travis as the kernel is too old.
But it works again locally.

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2018-07-03 14:46:31 +00:00 committed by Adrian Reber
parent 2c632d1a2d
commit 46221e3953
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ function teardown() {
requires criu root
# check if lazy-pages is supported
run ${CRIU} check --feature lazy_pages
run ${CRIU} check --feature uffd-noncoop
if [ "$status" -eq 1 ]; then
# this criu does not support lazy migration; skip the test
skip "this criu does not support lazy migration"