[LTP] [PATCH v3] Refactor and merge symlink04/05 using new LTP API

Yang Xu (Fujitsu) xuyang2018.jy@fujitsu.com
Wed Nov 29 06:29:33 CET 2023


Hi,Xiao Yang

>On 2023/10/27 15:12, Yang Xu wrote:
>> -     cleanup();
>> -     tst_exit();
>> -
>> +     fd = SAFE_OPEN(TESTFILE, O_RDWR | O_CREAT, 0644);

>Hi Yang

>Is it better to call SAFE_TOUCH(TESTFILE, 0644, NULL) here?
>In this case, we can drop cleanup() as well.
>Other than that, it looks good to me.
>Reviewed-by: Xiao Yang <yangx.jy@fujitsu.com>

>Best Regards,
>Xiao Yang

Yes. I'll update it.

Best Regards,
Yang Xu


More information about the ltp mailing list