[systemd-commits] src/test
Ronny Chevalier
rchevalier at kemper.freedesktop.org
Tue Apr 21 10:28:44 PDT 2015
src/test/test-execute.c | 2 +-
src/test/test-path.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ca909b846976c98159a12973034bdb6ba8ba2d65
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Tue Apr 21 19:27:59 2015 +0200
test: test-path and test-execute only need units in test/
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index c6210aa..a84a925 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 219b585..0504ae7 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;
More information about the systemd-commits
mailing list