mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-29 20:58:59 +01:00
11 lines
344 B
Plaintext
11 lines
344 B
Plaintext
# Verifies that the -follow option is correctly implemented,
|
|
# but does this by using the GNU extension -printf.
|
|
exec rm -rf tmp
|
|
|
|
exec mkdir tmp
|
|
exec ln -s /etc/passwd tmp/LINK
|
|
exec ln -s /NOSUCHFILE tmp/BROKEN
|
|
|
|
# Links should all be dereferenced unless they are broken.
|
|
find_start p { tmp/LINK tmp/BROKEN tmp -follow -printf "%y %d %p\n" }
|