]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tests: cleanup lxcpath.c
author2xsec <dh48.jeong@samsung.com>
Tue, 3 Jul 2018 09:22:27 +0000 (18:22 +0900)
committer2xsec <dh48.jeong@samsung.com>
Tue, 3 Jul 2018 09:22:27 +0000 (18:22 +0900)
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
src/tests/lxcpath.c

index 60189901c09b4d109d89d4d067c960fb918e83e1..b5141b46446950671c5159c8ecb026cd40559a26 100644 (file)
@@ -44,6 +44,7 @@ int main()
                TSTERR("create using default path");
                goto err;
        }
+
        p1 = c->get_config_path(c);
        p2 = c->config_file_name(c);
        if (!p1 || !p2 || strncmp(p1, p2, strlen(p1))) {
@@ -57,6 +58,7 @@ int main()
                TSTERR("Error setting custom path");
                goto err;
        }
+
        p1 = c->get_config_path(c);
        p2 = c->config_file_name(c);
        if (strcmp(p1, CPATH) || strcmp(p2, FPATH)) {