Imported Upstream version 4.5.10
[platform/upstream/findutils.git] / find / testsuite / find.gnu / name-opt.exp
1 # Verifies that -name is not optimized in front of -prune
2 exec rm -rf tmp
3 exec mkdir tmp
4 exec mkdir tmp/top
5 exec mkdir tmp/top/one
6 exec touch tmp/top/one/foo
7 find_start p {tmp/top -prune -name foo}
8 exec rm -rf tmp