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

Xiao Yang yangx.jy@fujitsu.com
Tue Nov 28 07:13:16 CET 2023


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


More information about the ltp mailing list