test: test-path and test-execute only need units in test/

This commit is contained in:
Ronny Chevalier
2015-04-21 19:27:59 +02:00
parent 8f1e0c5f38
commit ca909b8469
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)) {
+1 -1
View File
@@ -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;