[LTP] [PATCH v1] Refactor fork12 using new LTP API
Cyril Hrubis
chrubis@suse.cz
Tue Oct 31 17:00:04 CET 2023
Hi!
> This test also randomly fails outside of a container. Also other tests
> that are testing the limits. This makes me think more that setting lower
> prlimits is needed. Also this rewrite gets higher priority.
Just note that this test is not in syscalls runtest file but in the
crashme runtest file, which contains highly questionable stuff.
I guess that the original test does not really take things like
overcommit and OMM into an account, so shifting the test goals by
setting the RLIMIT_NPROC so that we effectively check that the
limits are enforced is probably reasonable way how to fix the test.
Either we do that or we remove fork12.c.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list