analyze: use MANAGER_TEST_RUN_MINIMAL instead of MANAGER_TEST_RUN_BASIC
MANAGER_TEST_RUN_MINIMAL allows to skip setting up cgroups, which we don't really want to do in systemd-analyze. MANAGER_TEST_RUN_BASIC doesn't actually do anything by itself anyway.
This commit is contained in:
@@ -220,7 +220,7 @@ static int verify_unit(Unit *u, bool check_man) {
|
||||
|
||||
int verify_units(char **filenames, UnitFileScope scope, bool check_man, bool run_generators) {
|
||||
const ManagerTestRunFlags flags =
|
||||
MANAGER_TEST_RUN_BASIC |
|
||||
MANAGER_TEST_RUN_MINIMAL |
|
||||
MANAGER_TEST_RUN_ENV_GENERATORS |
|
||||
run_generators * MANAGER_TEST_RUN_GENERATORS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user