Skip to content

Commit

Permalink
test: test for invalid network key
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, 2017
1 parent 4222a9f commit bb461dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tests/parse_config_file.c
Expand Up @@ -942,6 +942,12 @@ int main(int argc, char *argv[])
goto non_test_error;
}

if (!set_get_compare_clear_save_load(c, "lxc.net.0.asdf", "veth",
tmpf, true)) {
lxc_error("%s\n", "lxc.net.0.asdf");
goto non_test_error;
}

if (set_get_compare_clear_save_load_network(
c, "lxc.net.0.macvlan.mode", "private", tmpf, true,
"macvlan")) {
Expand Down

0 comments on commit bb461dc

Please sign in to comment.