diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-09 15:45:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-09 19:43:43 +0200 |
commit | ed4ac965fac18bfb4f030ea82159384c3403ab05 (patch) | |
tree | 995097203e6a9f06d0a071279700af03403ecf7a /src/core/manager.h | |
parent | af41e5086d5ef78b033f639c63f957995eed9370 (diff) | |
download | systemd-ed4ac965fac18bfb4f030ea82159384c3403ab05.tar.gz |
manager: rework test flags set
No reason to avoid bit 0.
Also, fix some tests that pass "true" as flags value, which is just
wrong.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index a26ffda3a5..13110b3b63 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -110,10 +110,10 @@ typedef enum ManagerTimestamp { enum { /* 0 = run normally */ - MANAGER_TEST_RUN_MINIMAL = 1 << 1, /* create basic data structures */ - MANAGER_TEST_RUN_BASIC = 1 << 2, /* interact with the environment */ - MANAGER_TEST_RUN_ENV_GENERATORS = 1 << 3, /* also run env generators */ - MANAGER_TEST_RUN_GENERATORS = 1 << 4, /* also run unit generators */ + MANAGER_TEST_RUN_MINIMAL = 1 << 0, /* create basic data structures */ + MANAGER_TEST_RUN_BASIC = 1 << 1, /* interact with the environment */ + MANAGER_TEST_RUN_ENV_GENERATORS = 1 << 2, /* also run env generators */ + MANAGER_TEST_RUN_GENERATORS = 1 << 3, /* also run unit generators */ MANAGER_TEST_FULL = MANAGER_TEST_RUN_BASIC | MANAGER_TEST_RUN_ENV_GENERATORS | MANAGER_TEST_RUN_GENERATORS, }; assert_cc((MANAGER_TEST_FULL & UINT8_MAX) == MANAGER_TEST_FULL); |