[LTP] [PATCH 4/4] syscalls/modify_ldt: Refactor modify_ldt01 into new API
Andrea Cervesato
andrea.cervesato@suse.com
Tue Mar 25 13:31:14 CET 2025
Hi ricardo,
On 3/25/25 13:28, Ricardo B. Marlière wrote:
> Hi Andrea,
>
> On Tue Mar 25, 2025 at 7:10 AM -03, Andrea Cervesato wrote:
>> Hi!
>>
>> So this is a test which is testing if modify_ldt syscall is producing
>> the right errors according to invalid inputs. It's a pretty common type
>> of test in LTP and we can extend it to all the other errors as well
>> Basically, we need to merge simple tests checking for errors into a
>> single one using test cases.
> So, basically keep 01 and extend it instead of splitting it into new
> tests such as 04 and 05?
Exactly, in this way we can use test cases and reduce code duplication.
Andrea
More information about the ltp
mailing list