mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
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:
parent
5dd2f5ff07
commit
a381a9d134
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue