cvsimport
[findutils.git] / find / testsuite / find.posix / perm-X.exp
blob28e78addc8f5b3270c5b9673daa1f6b46aec1ead
1 # tests for -perm with X
2 exec rm -rf tmp
3 exec mkdir tmp
4 exec chmod 755 tmp
5 exec true > tmp/empty
6 exec true > tmp/empty-xxx
7 exec chmod 711 tmp/empty-xxx
8 exec mkdir tmp/sub
9 exec chmod 300 tmp/sub
10 find_start p { tmp \( ! -name sub -o -prune \) -perm -u+w,a+X -print }
11 exec chmod 700 tmp/sub
12 exec rm -rf tmp