[LTP] [PATCH] dup07.c: Rewrite using new LTP API

Petr Vorel pvorel@suse.cz
Mon Jul 11 08:54:59 CEST 2022


Hi Avinesh, Xu,

> Hi Avinesh

> I did't look this cleanup patch, but I see the old code is same as 
> dup202.c(This case covers more situation, ie using chmod). Maybe we can 
> just add a test_variant to use dup  syscall in dup202.c?

> Then remove this case directly.

+1, yes, the code in both tests indeed does the same.

Kind regards,
Petr


More information about the ltp mailing list