1 # Verifies that the POSIX
-H option is correctly implemented
,
2 # but does this by using the GNU extension
-printf.
6 exec ln
-s
/etc
/passwd tmp
/LINK
7 exec ln
-s
/NOSUCHFILE tmp
/BROKEN
9 #
If the file is not
on the command line
, the link is not
10 # dereferenced
, and so tmp
/LINK should appear at depth
1
11 # but as type
"l". tmp itself appears first at depth 0 as
13 find_start p
{ -H tmp
/LINK tmp
/BROKEN tmp
-printf
"H1: %y %d %p\n" }