[LTP] [PATCH] lib/tst_test.c: add *cleanup() before exit
Cyril Hrubis
chrubis@suse.cz
Mon Nov 8 14:12:02 CET 2021
Hi!
> If the main process exit without *cleanup() and when the lib process
> has exit, the test environment would not be reset when the testcase
> needs resource of device or tmpfs.
This looks like working around the real problem. The test library
process is supposed to outlive the child in all circumstances.
What exactly happens in your case that this code gets triggered?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list