Fix setgid/setuid typo
[findutils.git] / find / testsuite / find.gnu / follow-basic.exp
blobbc62a2dea7a143c3d9068cd679d9d6b51a96945b
1 # Verifies that the -follow option is correctly implemented,
2 # but does this by using the GNU extension -printf.
3 exec rm -rf tmp
5 exec mkdir tmp
6 exec ln -s /etc/passwd tmp/LINK
7 exec ln -s /NOSUCHFILE tmp/BROKEN
9 # Links should all be dereferenced unless they are broken.
10 find_start p { tmp/LINK tmp/BROKEN tmp -follow -printf "%y %d %p\n" }