summaryrefslogtreecommitdiff
path: root/src/test/test-tables.c
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2020-03-09 15:09:17 -0700
committerAnita Zhang <the.anitazha@gmail.com>2020-10-07 16:17:23 -0700
commit4d824a4e0b008a359adda0e960706316f207047e (patch)
tree04c5b68e821899102206ae1be6746632aa96d9cd /src/test/test-tables.c
parent5177cb0a9add4ae568cff6e6f7c2b3c77760c343 (diff)
downloadsystemd-4d824a4e0b008a359adda0e960706316f207047e.tar.gz
core: add ManagedOOM*= properties to configure systemd-oomd on the unit
This adds the hook ups so it can be read with the usual systemd utilities. Used in later commits by sytemd-oomd.
Diffstat (limited to 'src/test/test-tables.c')
-rw-r--r--src/test/test-tables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-tables.c b/src/test/test-tables.c
index 59f90b76ec..7273611143 100644
--- a/src/test/test-tables.c
+++ b/src/test/test-tables.c
@@ -3,6 +3,7 @@
#include "architecture.h"
#include "automount.h"
#include "cgroup.h"
+#include "cgroup-util.h"
#include "compress.h"
#include "condition.h"
#include "device-private.h"
@@ -71,6 +72,7 @@ int main(int argc, char **argv) {
test_table(locale_variable, VARIABLE_LC);
test_table(log_target, LOG_TARGET);
test_table(mac_address_policy, MAC_ADDRESS_POLICY);
+ test_table(managed_oom_mode, MANAGED_OOM_MODE);
test_table(manager_state, MANAGER_STATE);
test_table(manager_timestamp, MANAGER_TIMESTAMP);
test_table(mount_exec_command, MOUNT_EXEC_COMMAND);