chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: rework strappenda(), and rename it strjoina()
[elogind.git]
/
src
/
test
/
test-path-lookup.c
diff --git
a/src/test/test-path-lookup.c
b/src/test/test-path-lookup.c
index a6ce8c9d8d2b54549bbb594d1951a5fda0955f2c..38e5c93df6c3804ec1df425e2f20d4d3edc26022 100644
(file)
--- a/
src/test/test-path-lookup.c
+++ b/
src/test/test-path-lookup.c
@@
-33,9
+33,9
@@
static void test_paths(SystemdRunningAs running_as, bool personal) {
char *exists, *not;
assert_se(mkdtemp(template));
char *exists, *not;
assert_se(mkdtemp(template));
- exists = str
append
a(template, "/exists");
+ exists = str
join
a(template, "/exists");
assert_se(mkdir(exists, 0755) == 0);
assert_se(mkdir(exists, 0755) == 0);
- not = str
append
a(template, "/not");
+ not = str
join
a(template, "/not");
assert_se(lookup_paths_init(&lp, running_as, personal, NULL, exists, not, not) == 0);
assert_se(lookup_paths_init(&lp, running_as, personal, NULL, exists, not, not) == 0);