summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-21 19:27:59 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-21 19:27:59 +0200
commitca909b846976c98159a12973034bdb6ba8ba2d65 (patch)
treeec980345dd1e28a748f93355f8c89fe836bc37e3 /src
parent8f1e0c5f38cdf7e401ab4d2bb93ad816d08e7715 (diff)
test: test-path and test-execute only need units in test/
Diffstat (limited to 'src')
-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;