[LTP] [PATCH 0/2] OOM protection for shell tests
Andrea Cervesato
andrea.cervesato@suse.de
Mon Jul 13 16:01:28 CEST 2026
Under Li's idea, implement a OOM protection mechanism for the shell
tests so we can avoid OOM for memcg stress tests.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (2):
shell: add optional OOM protection
memcg_stress: survive OOM by targeting the stressors
doc/developers/writing_tests.rst | 3 ++
.../controllers/memcg/stress/memcg_stress_test.sh | 1 +
testcases/lib/tests/shell_oom_protection.sh | 34 +++++++++++++
testcases/lib/tst_test.sh | 57 +++++++++++++++++++++-
4 files changed, 94 insertions(+), 1 deletion(-)
---
base-commit: ed2758122173ffd8d1e8dff6c5efc1231073ee4a
change-id: 20260713-shell_oom_protection-6221ab825220
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list