From 4610f405e01783c83d77598207fc4f65c25594ec Mon Sep 17 00:00:00 2001 From: Isaac True Date: Mon, 11 Sep 2023 12:36:00 +0200 Subject: [PATCH] ERL-381: spread: add test for verifying sysctl parameters Signed-off-by: Isaac True --- tests/spread/sysctl/task.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/spread/sysctl/task.yaml diff --git a/tests/spread/sysctl/task.yaml b/tests/spread/sysctl/task.yaml new file mode 100644 index 0000000..9dd6eff --- /dev/null +++ b/tests/spread/sysctl/task.yaml @@ -0,0 +1,12 @@ +--- + +summary: "Verify sysctl parameters" + +systems: + - "nemos-image-*" + +execute: | + test $(sysctl -n vm.overcommit_memory) = 2 + test $(sysctl -n kernel.randomize_va_space) = 2 + test $(sysctl -n kernel.kptr_restrict) = 1 + test $(sysctl -n kernel.yama.ptrace_scope) = 2