[LTP] [PATCH v1] Rewritten symlink01 test

Petr Vorel pvorel@suse.cz
Tue May 21 20:43:54 CEST 2024


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.

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)


More information about the ltp mailing list