From: Thomas Parrott Date: Thu, 4 Jun 2020 13:14:43 +0000 (+0100) Subject: tests: Adds test for lxc.net.0.veth.vlan.tagged.id config key X-Git-Tag: lxc-5.0.0~422^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca374db087529f69184daa54709ca409f6dda51;p=thirdparty%2Flxc.git tests: Adds test for lxc.net.0.veth.vlan.tagged.id config key Signed-off-by: Thomas Parrott --- diff --git a/src/tests/parse_config_file.c b/src/tests/parse_config_file.c index 51dc1c0a5..6d0e88805 100644 --- a/src/tests/parse_config_file.c +++ b/src/tests/parse_config_file.c @@ -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;