Imported Upstream version 4.5.10
[platform/upstream/findutils.git] / find / testsuite / find.gnu / xtype.exp
1 # checks for the -xtype test.
2 exec rm -rf tmp
3
4 exec mkdir tmp
5 exec ln -s /etc/passwd  tmp/LINK
6 exec ln -s /NOSUCHFILE  tmp/BROKEN
7
8 find_start p { -H tmp/LINK tmp/BROKEN tmp -xtype l -printf "xtype is l: %p\n" , \! -xtype l -printf "xtype is not l: %p\n" }