diff options
author | Filipe Brandenburger <filbranden@google.com> | 2018-09-12 08:15:09 +0200 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2018-09-12 18:49:03 +0200 |
commit | 55890a40c3ec0c061c04d1395a38c26313132d12 (patch) | |
tree | 93b3f267b25b6bc894d72e6e52cdafde89674dd0 /src/test/test-engine.c | |
parent | Set theme jekyll-theme-slate (diff) | |
download | systemd-55890a40c3ec0c061c04d1395a38c26313132d12.tar.xz systemd-55890a40c3ec0c061c04d1395a38c26313132d12.zip |
test: remove support for suffix in get_testdata_dir()
Instead, use path_join() in callers wherever needed.
Diffstat (limited to 'src/test/test-engine.c')
-rw-r--r-- | src/test/test-engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-engine.c b/src/test/test-engine.c index d072a15cb1..0f3e244dc1 100644 --- a/src/test/test-engine.c +++ b/src/test/test-engine.c @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) { } /* prepare the test */ - assert_se(set_unit_path(get_testdata_dir("")) >= 0); + assert_se(set_unit_path(get_testdata_dir()) >= 0); assert_se(runtime_dir = setup_fake_runtime_dir()); r = manager_new(UNIT_FILE_USER, MANAGER_TEST_RUN_BASIC, &m); if (MANAGER_SKIP_TEST(r)) { |