[LTP] [COMMITTED] [PATCH] syscalls: modify_ldt02: Fix failure

Petr Vorel pvorel@suse.cz
Thu May 6 20:26:23 CEST 2021


> Hi!
> > I am sorry, It's my fault. It seems that restore to origin code is
> > more better since it might create a core file.

> No this is not solution either, since the original code was broken to
> begin with.

> We do have tst_no_corefile() in the test library, which should be called
> by tests that cause SEGFAULT on purpose in order to avoid dumping a
> core, but it looks like it's available only for new library tests. We
> would have to convert the test to new library first if we wanted to
> that.

Thanks for info, I was not aware of tst_no_corefile().

Kind regards,
Petr


More information about the ltp mailing list