summaryrefslogtreecommitdiffstats
path: root/src/test/test-engine.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-29 15:55:59 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-29 16:17:57 +0200
commitb380b6438361e39ad5076bfa58d2021621a957af (patch)
tree41ef3c9738a5989af15ce0a3626a966716ef9d1f /src/test/test-engine.c
parenttest-systemctl-enable: disable the test for %a for now (diff)
downloadsystemd-b380b6438361e39ad5076bfa58d2021621a957af.tar.xz
systemd-b380b6438361e39ad5076bfa58d2021621a957af.zip
Rename UnitFileScope to LookupScope
As suggested in https://github.com/systemd/systemd/pull/22649/commits/8b3ad3983f5440eef812b34e5ed862ca59fdf7f7#r837345892 The define is generalized and moved to path-lookup.h, where it seems to fit better. This allows a recursive include to be removed and in general makes things simpler.
Diffstat (limited to 'src/test/test-engine.c')
-rw-r--r--src/test/test-engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-engine.c b/src/test/test-engine.c
index cd01d1358b..ef055360fb 100644
--- a/src/test/test-engine.c
+++ b/src/test/test-engine.c
@@ -93,7 +93,7 @@ int main(int argc, char *argv[]) {
assert_se(set_unit_path(unit_dir) >= 0);
assert_se(runtime_dir = setup_fake_runtime_dir());
- r = manager_new(UNIT_FILE_USER, MANAGER_TEST_RUN_BASIC, &m);
+ r = manager_new(LOOKUP_SCOPE_USER, MANAGER_TEST_RUN_BASIC, &m);
if (manager_errno_skip_test(r))
return log_tests_skipped_errno(r, "manager_new");
assert_se(r >= 0);