Skip to content

Commit

Permalink
criu tests: rename criu feature check
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
adrianreber committed Jul 3, 2018
1 parent 2c632d1 commit 46221e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/checkpoint.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 46221e3

Please sign in to comment.