test: test for invalid network key

parent 4222a9f4
...@@ -942,6 +942,12 @@ int main(int argc, char *argv[]) ...@@ -942,6 +942,12 @@ int main(int argc, char *argv[])
goto non_test_error; 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( if (set_get_compare_clear_save_load_network(
c, "lxc.net.0.macvlan.mode", "private", tmpf, true, c, "lxc.net.0.macvlan.mode", "private", tmpf, true,
"macvlan")) { "macvlan")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment