]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.c
manager: add a test flag to ignore dependencies
authorMaanya Goenka <t-magoenka@microsoft.com>
Thu, 8 Jul 2021 01:28:20 +0000 (18:28 -0700)
committerMaanya Goenka <t-magoenka@microsoft.com>
Thu, 12 Aug 2021 14:22:15 +0000 (07:22 -0700)
commitf14d6810e0a08a1ed5e9f1a213d71f9a531ccf50
tree0176a0226e50a2c9accd48b788f5f67f5d29ff4b
parent1545051c79104365a22c9449a470e96c8658689b
manager: add a test flag to ignore dependencies

The MANAGER_TEST_RUN_IGNORE_DEPENDENCIES flag was added in order to allow the caller
to skip the recursive loading of dependency units when loading specific
unit files. This includes the default dependencies, the specified dependencies, the slice.
This will be used by systemd-analyze to allow checking individual unit files in isolation.
src/core/manager.h
src/core/unit.c