]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tests: Adds test for lxc.net.0.veth.vlan.tagged.id config key
authorThomas Parrott <thomas.parrott@canonical.com>
Thu, 4 Jun 2020 13:14:43 +0000 (14:14 +0100)
committerThomas Parrott <thomas.parrott@canonical.com>
Tue, 9 Jun 2020 08:40:06 +0000 (09:40 +0100)
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
src/tests/parse_config_file.c

index 51dc1c0a5951cd6b1f74fef0cf03f4e176dbf4c6..6d0e88805de3115b84198d81e4ed7cbf4324c802 100644 (file)
@@ -786,6 +786,11 @@ int main(int argc, char *argv[])
                return -1;
        }
 
+       if (set_get_compare_clear_save_load_network(c, "lxc.net.0.veth.vlan.tagged.id", "2", tmpf, true, "veth")) {
+               lxc_error("%s\n", "lxc.net.0.veth.vlan.tagged.id");
+               return -1;
+       }
+
        if (set_get_compare_clear_save_load(c, "lxc.net.0.script.up", "/some/up/path", tmpf, true)) {
                lxc_error("%s\n", "lxc.net.0.script.up");
                goto non_test_error;