summaryrefslogtreecommitdiff
path: root/test-engine.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-27 00:15:56 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-27 00:15:56 +0100
commit0301abf48ed3be921c33d409c73b554435cf6378 (patch)
treea519dad97ab1eb945be1999c2892aa2fe25509c3 /test-engine.c
parent87f0e418cf2c58b3201d06a60e3696ec672d2662 (diff)
implement drop-in directories
Diffstat (limited to 'test-engine.c')
-rw-r--r--test-engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-engine.c b/test-engine.c
index c14a3402dd..85d7697c35 100644
--- a/test-engine.c
+++ b/test-engine.c
@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
Unit *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL, *g = NULL, *h = NULL;
Job *j;
- assert_se(chdir("test2") == 0);
+ assert_se(set_unit_path("test2") >= 0);
assert_se(m = manager_new());