[LTP] [PATCH v1] Rewritten symlink01 test

Andrea Cervesato andrea.cervesato@suse.com
Tue May 21 22:25:01 CEST 2024


Hi,

On 5/21/24 20:43, Petr Vorel wrote:
> Hi Andrea,
>
>> From: Andrea Cervesato <andrea.cervesato@suse.com>
>> This test has been split and rewritten. Now it verifies the following
> I had to think twice to realize that the code has been moved to other tests in
> different commits. Putting short hashes (e.g. 3fe59efe4, d824f59a2, but there
> were more) would help 1) to review this 2) help anybody who tries to dig into
> the history in the future.
Yes, this patch-set was a mess since the beginning. Won't happen again.
>
> Kind regards,
> Petr
>
>> symlink() syscall features:
>> - symbolic link is created from a non-existing folder
>> - symbolic link is created from existing folder
>> - syscall raises EEXIST when symbolic link already exists
>> - syscall raises ENAMETOOLONG when path name is PATH_MAX long (or above)

Andrea



More information about the ltp mailing list