]> git.ipfire.org Git - thirdparty/lxc.git/commit
criu: add a test case for the criu feature check support 2035/head
authorAdrian Reber <areber@redhat.com>
Wed, 13 Dec 2017 11:14:58 +0000 (12:14 +0100)
committerAdrian Reber <areber@redhat.com>
Thu, 14 Dec 2017 19:34:51 +0000 (20:34 +0100)
commit739ef90c8233c7c2dd76e15985521bf05e6dc8e4
tree8a67a29be840b37d0ff608bbcc284753cc1cb93a
parentb5b12b9e75935836213b7637d018c93763183945
criu: add a test case for the criu feature check support

This adds a simple test case which verifies that the new migrate() API
command 'MIGRATE_FEATURE_CHECK' works as expected.

If a feature does not exist on the currently running
architecture/kernel/criu combination it does not report an error as this
is a valid scenario.

Signed-off-by: Adrian Reber <areber@redhat.com>
src/tests/Makefile.am
src/tests/criu_check_feature.c [new file with mode: 0644]