Unverified Commit 4525d208 by 2xsec Committed by Christian Brauner

tests: cleanup lxcpath.c

Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent a4ce8c1f
...@@ -44,6 +44,7 @@ int main() ...@@ -44,6 +44,7 @@ int main()
TSTERR("create using default path"); TSTERR("create using default path");
goto err; goto err;
} }
p1 = c->get_config_path(c); p1 = c->get_config_path(c);
p2 = c->config_file_name(c); p2 = c->config_file_name(c);
if (!p1 || !p2 || strncmp(p1, p2, strlen(p1))) { if (!p1 || !p2 || strncmp(p1, p2, strlen(p1))) {
...@@ -57,6 +58,7 @@ int main() ...@@ -57,6 +58,7 @@ int main()
TSTERR("Error setting custom path"); TSTERR("Error setting custom path");
goto err; goto err;
} }
p1 = c->get_config_path(c); p1 = c->get_config_path(c);
p2 = c->config_file_name(c); p2 = c->config_file_name(c);
if (strcmp(p1, CPATH) || strcmp(p2, FPATH)) { if (strcmp(p1, CPATH) || strcmp(p2, FPATH)) {
......
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