]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
core: clean up test run flags
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 14:15:54 +0000 (16:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Oct 2018 17:43:43 +0000 (19:43 +0200)
commit638cece45da5a6e5fc7c410b619f35abb8df3ec7
treea7df24658c7617745fcd5628202ed48773887fed
parentc52b19d65fa9e701d8f1625ef2d26bbd5b4fa3fe
core: clean up test run flags

Let's make them typesafe, and let's add a nice macro helper for checking
if we are in a test run, which should make testing for this much easier
to read for most cases.
src/analyze/analyze-verify.c
src/core/cgroup.c
src/core/manager.c
src/core/manager.h
src/core/unit.c