From: 2xsec Date: Tue, 3 Jul 2018 09:22:27 +0000 (+0900) Subject: tests: cleanup lxcpath.c X-Git-Tag: lxc-3.1.0~221^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=915af839db145bc0f56e6d0b3bd6da056d56b325;p=thirdparty%2Flxc.git tests: cleanup lxcpath.c Signed-off-by: 2xsec --- diff --git a/src/tests/lxcpath.c b/src/tests/lxcpath.c index 60189901c..b5141b464 100644 --- a/src/tests/lxcpath.c +++ b/src/tests/lxcpath.c @@ -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)) {