linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.3k stars 1.01k forks source link

To kill pending children when LTP test is over #892

Closed acerv closed 2 years ago

acerv commented 2 years ago

Hi, currently there isn't a support for pending children in LTP tests. Once the test is finished, pending children must be handled via cleanup, otherwise they will keep test in zombie mode on background. Maybe this can be handled by checking if forks_child=1 inside the initialized tst_test structure when test is over.