[LTP] [PATCH v1] Rewritten symlink01 test

Cyril Hrubis chrubis@suse.cz
Fri Jul 26 17:47:35 CEST 2024


Hi!
> This test has been split and rewritten. Now it verifies the following
> 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)

I had a quick look at the status of this and it seems that there are
still a few missing parts, namely:

$ git grep symlink01 runtest/

runtest/syscalls:chdir01A symlink01 -T chdir01
runtest/syscalls:chmod01A symlink01 -T chmod01
runtest/syscalls:link01 symlink01 -T link01
runtest/syscalls:readlink01A symlink01 -T readlink01
runtest/syscalls:rename01A symlink01 -T rename01
runtest/syscalls:rmdir03A symlink01 -T rmdir03
runtest/syscalls:symlink01 symlink01
runtest/syscalls:unlink01 symlink01 -T unlink01

And the only patch apart from symlink01 conversion on patchwork seems to
be rename15:

https://patchwork.ozlabs.org/project/ltp/patch/20240424092357.11207-1-andrea.cervesato@suse.de/

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list