Home | History | Annotate | Download | only in testcase

Lines Matching refs:testdir

19 	mkdir testdir
20 touch testdir/file1
21 touch testdir/file2
22 mkdir testdir/dir1
23 touch testdir/dir1/file1
24 touch testdir/dir1/file2
25 touch testdir/dir1/file3
26 mkdir testdir/dir2
27 touch testdir/dir2/file1
28 touch testdir/dir2/file2
29 touch testdir/dir2/file3
30 ln -s ../dir1/file1 testdir/dir2/link1
31 ln -s ../../testdir/dir1 testdir/dir2/link2
32 ln -s broken testdir/dir2/link3
52 $(call run_find, find testdir)
61 $(call run_find, find testdir/../testdir)
63 $(call run_find, find testdir -print)
65 $(call run_find, find testdir -name foo)
66 $(call run_find, find testdir -name file1)
67 $(call run_find, find testdir -name "file1")
68 $(call run_find, find testdir -name "file1")
69 $(call run_find, find testdir -name "*1")
70 $(call run_find, find testdir -name "*1" -and -name "file*")
71 $(call run_find, find testdir -name "*1" -or -name "file*")
72 $(call run_find, find testdir -name "*1" -or -type f)
73 $(call run_find, find testdir -name "*1" -or -not -type f)
74 $(call run_find, find testdir -name "*1" -or \! -type f)
75 $(call run_find, find testdir -name "*1" -or -type d)
76 $(call run_find, find testdir -name "*1" -or -type l)
77 $(call run_find, find testdir -name "*1" -a -type l -o -name "dir*")
78 $(call run_find, find testdir -name "dir*" -o -name "*1" -a -type l)
79 $(call run_find, find testdir \( -name "dir*" -o -name "*1" \) -a -type f)
81 $(call run_find, cd testdir && find)
82 $(call run_find, cd testdir/// && find .)
83 $(call run_find, cd testdir///dir1// && find .///)
84 $(call run_find, cd testdir && find ../testdir)
86 $(call run_find, test -d testdir && find testdir)
87 $(call run_find, if [ -d testdir ] ; then find testdir ; fi)
88 $(call run_find, if [ -d testdir ]; then find testdir; fi)
89 $(call run_find, if [ -d testdir ]; then cd testdir && find .; fi)
90 $(call run_find, test -d testdir//dir1/// && find testdir///dir1///)
91 $(call run_find, test -d testdir//.///dir1/// && find testdir//.///dir1///)
93 $(call run_find, find testdir -name dir2 -prune -o -name file1)
95 $(call run_find, find testdir testdir)
97 $(call run_find, find -L testdir -type f)
98 $(call run_find, find -L testdir -type d)
99 $(call run_find, find -L testdir -type l)
100 $(call run_find, cd testdir; find -L . -type f)
101 $(call run_find, cd testdir; find -L . -type d)
102 $(call run_find, cd testdir; find -L . -type l)
104 $(call run_find, find testdir -maxdepth 1)
105 $(call run_find, find testdir -maxdepth 2)
106 $(call run_find, find testdir -maxdepth 0)
107 $(call run_find, find testdir -maxdepth hoge)
108 $(call run_find, find testdir -maxdepth 1hoge)
109 $(call run_find, find testdir -maxdepth -1)
111 $(call run_find, build/tools/findleaves.py testdir file1)
112 $(call run_find, build/tools/findleaves.py testdir file3)
113 $(call run_find, build/tools/findleaves.py --prune=dir1 testdir file3)
114 $(call run_find, build/tools/findleaves.py --prune=dir1 --prune=dir2 testdir file3)
115 $(call run_find, build/tools/findleaves.py --mindepth=1 testdir file1)
116 $(call run_find, build/tools/findleaves.py --mindepth=2 testdir file1)
117 $(call run_find, build/tools/findleaves.py --mindepth=3 testdir file1)
118 $(call run_find, build/tools/findleaves.py --mindepth=2 testdir file1)
119 $(call run_find, build/tools/findleaves.py --prune=dir1 --dir=testdir file1)
120 $(call run_find, build/tools/findleaves.py --prune=dir1 --dir=testdir file3 link3)
121 @echo missing chdir / testdir