repo.or.cz
/
findutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix setgid/setuid typo
[findutils.git]
/
find
/
testsuite
/
find.gnu
/
mindepth-arg.exp
blob
ba4d0dcec0dd2754f9ff2bc54c4e32555a8ad9f6
1
#
Argument
validation
for
-
mindepth and
-
maxdepth
2
proc prepare
{} {
3
exec rm
-
rf tmp
4
exec
mkdir
tmp tmp
/
top tmp
/
top
/
one
5
}
6
foreach predicate
{ -
mindepth
-
maxdepth
} {
7
find_start p
"tmp/top $predicate 0 -print -quit" {} {} prepare
8
}
9
exec rm
-
rf tmp