[LTP] [PATCH v3 6/9] Rewrite userns06.c using new LTP API
Cyril Hrubis
chrubis@suse.cz
Tue Mar 29 14:35:37 CEST 2022
Hi!
The test is actually broken after this changes.
The problem is that previously the parent waited the children and
checked the exit values. That is not done at all after this changes so
the failure is not propagated. Also instead of the propagation the
execed process should rather do the tst_reinit() which allows it to use
tst_res(TPASS, ...) and tst_res(TFAIL, ...) to report the test results
directly. Have a look at the setpgid03.c how it's done.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list