]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/tests/parse_config_file.c
confile: lxc.rootfs --> lxc.rootfs.path
[mirror_lxc.git] / src / tests / parse_config_file.c
index 9239b42fa5355e11c928d8667c37f3a559077241..bc69b3a16def87852aaa40f43b60d579e96840ed 100644 (file)
@@ -503,13 +503,22 @@ int main(int argc, char *argv[])
                goto non_test_error;
        }
 
-       /* lxc.rootfs */
+       /* REMOVE IN LXC 3.0
+          legacy lxc.rootfs key
+        */
        if (set_get_compare_clear_save_load(c, "lxc.rootfs", "/some/path", tmpf,
                                            true) < 0) {
                lxc_error("%s\n", "lxc.rootfs");
                goto non_test_error;
        }
 
+       /* lxc.rootfs.path */
+       if (set_get_compare_clear_save_load(c, "lxc.rootfs.path", "/some/path", tmpf,
+                                           true) < 0) {
+               lxc_error("%s\n", "lxc.rootfs.path");
+               goto non_test_error;
+       }
+
        /* lxc.rootfs.mount */
        if (set_get_compare_clear_save_load(c, "lxc.rootfs.mount", "/some/path",
                                            tmpf, true) < 0) {