Skip to content

Commit

Permalink
tests: add lxc.rootfs.managed test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Jul 31, 2018
1 parent 2a6d08c commit 6e0045b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/parse_config_file.c
Expand Up @@ -773,6 +773,11 @@ int main(int argc, char *argv[])
goto non_test_error;
}

if (set_get_compare_clear_save_load(c, "lxc.rootfs.managed", "1", tmpf, true) < 0) {
lxc_error("%s\n", "lxc.rootfs.managed");
goto non_test_error;
}

fret = EXIT_SUCCESS;

non_test_error:
Expand Down

0 comments on commit 6e0045b

Please sign in to comment.