Skip to content

Commit

Permalink
tests: cleanup lxcpath.c
Browse files Browse the repository at this point in the history
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
  • Loading branch information
2xsec committed Jul 3, 2018
1 parent c3c504a commit 915af83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/lxcpath.c
Expand Up @@ -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))) {
Expand All @@ -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)) {
Expand Down

0 comments on commit 915af83

Please sign in to comment.