[LTP] [PATCH v2] lib/tst_test.c: Run test in child process
Cyril Hrubis
chrubis@suse.cz
Wed Jun 8 16:32:07 CEST 2016
Hi!
> I was thinking the same as your patch below, but plus these changes:
> - remove call to do_cleanup in tst_run_tcases
> - add call to cleanup_ipc in do_cleanup
> - remove call to cleanup_ipc in do_exit
> - add call to do_cleanup in do_exit
So, the test library could exit only via do_exit() call and the whole
cleanup would be done in do_exit() just before the call to exit(),
right? Sounds good to me. Will you prepare a patch?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list