New -find tests -maxdepth and -mindepth

This commit is contained in:
2016-11-19 18:23:10 +01:00
parent 3da2ac249f
commit 7371115b25
9 changed files with 110 additions and 44 deletions

View File

@ -53,6 +53,8 @@ struct ExprtesT {
22= -use_pattern char *arg1 ("on" [or "ls"], "off")
23= -or_use_pattern char *arg1 ("on" [or "ls"], "off")
24= -name_limit_blocker int *arg1
25= -maxdepth int *arg1
26= -mindepth int *arg1
*/
int test_type;
@ -217,6 +219,9 @@ struct FindjoB {
/* Counts the test matches */
unsigned long match_count;
/* Current depth of tree walking. Relative to start path. */
int depth;
};