chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / test / test-path-lookup.c
index a6ce8c9d8d2b54549bbb594d1951a5fda0955f2c..38e5c93df6c3804ec1df425e2f20d4d3edc26022 100644 (file)
@@ -33,9 +33,9 @@ static void test_paths(SystemdRunningAs running_as, bool personal) {
         char *exists, *not;
 
         assert_se(mkdtemp(template));
-        exists = strappenda(template, "/exists");
+        exists = strjoina(template, "/exists");
         assert_se(mkdir(exists, 0755) == 0);
-        not = strappenda(template, "/not");
+        not = strjoina(template, "/not");
 
         assert_se(lookup_paths_init(&lp, running_as, personal, NULL, exists, not, not) == 0);