In this mode we are not supposed to "interact with the environment", so loading
all units and printing warnings about syntax errors and /var/run usage seems
inappropriate.
assert(m);
+ if (m->test_run_flags == MANAGER_TEST_RUN_MINIMAL)
+ return;
+
/* Let's ask every type to load all units from disk/kernel that it might know */
for (c = 0; c < _UNIT_TYPE_MAX; c++) {
if (!unit_type_supported(c)) {
assert(m);
+ if (m->test_run_flags == MANAGER_TEST_RUN_MINIMAL)
+ return;
+
/* Let's ask every type to load all units from disk/kernel that it might know */
for (c = 0; c < _UNIT_TYPE_MAX; c++) {
if (!unit_type_supported(c)) {