summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test-execute.c2
-rw-r--r--src/test/test-path.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index c6210aaa87..a84a9254f9 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -165,7 +165,7 @@ int main(int argc, char *argv[]) {
return EXIT_TEST_SKIP;
}
- assert_se(set_unit_path(TEST_DIR ":") >= 0);
+ assert_se(set_unit_path(TEST_DIR) >= 0);
r = manager_new(SYSTEMD_USER, true, &m);
if (IN_SET(r, -EPERM, -EACCES, -EADDRINUSE, -EHOSTDOWN, -ENOENT)) {
diff --git a/src/test/test-path.c b/src/test/test-path.c
index 219b585b7c..0504ae76bb 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -254,7 +254,7 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
- assert_se(set_unit_path(TEST_DIR ":") >= 0);
+ assert_se(set_unit_path(TEST_DIR) >= 0);
for (test = tests; test && *test; test++) {
int r;