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

@ -384,6 +384,7 @@ int Findjob_new(struct FindjoB **o, char *start_path, int flag)
m->errmsg[0]= 0;
m->errn= 0;
m->match_count= 0;
m->depth= 0;
ret= Exprnode_new(&(m->test_tree), m, NULL, "-find", (m->use_shortcuts)<<1);
if(ret<=0)