> On 2023-06-04 13:05:18+0200, Willy Tarreau wrote: > > Hi Zhangjin, > > > > On Tue, May 30, 2023 at 06:47:38PM +0800, Zhangjin Wu wrote: > > > Hi, Willy, Thomas > > > > > > > Just let us know if you think that's something you could be interested > > in exploring. There might be differences between architectures, I have > > not checked. > > If the goal is to handle hard errors like segfaults more gracefully, > would it not be easier to run each testcase in a subprocess? > > Then we can just check if the child exited successfully. > Yeah, it is easier, it may be possible to simply pass the test case to something like test_fork() and let the child to run it there. I will take a try, thanks very much. > It should also be completely architecture agnostic. It is for we can reuse the test_fork() stuff. Best regards, Zhangjin > > Thomas