• Home
  • Raw
  • Download

Lines Matching refs:cmd

151 		cmd  string
155 cmd: "find testdir",
163 cmd: "find .",
171 cmd: "find ",
179 cmd: "find testdir/../testdir",
187 cmd: "find testdir -print",
195 cmd: "find testdir -name foo",
203 cmd: `find testdir -name "file1"`,
211 cmd: `find testdir -name "*1"`,
219 cmd: `find testdir -name "*1" -and -name "file*"`,
227 cmd: `find testdir -name "*1" -or -name "file*"`,
235 cmd: `find testdir -name "*1" -or -type f`,
243 cmd: `find testdir -name "*1" -or -not -type f`,
251 cmd: `find testdir -name "*1" -or \! -type f`,
259 cmd: `find testdir -name "*1" -or -type d`,
267 cmd: `find testdir -name "*1" -or -type l`,
275 cmd: `find testdir -name "*1" -a -type l -o -name "dir*"`,
283 cmd: `find testdir \( -name "dir*" -o -name "*1" \) -a -type f`,
291 cmd: `cd testdir && find`,
300 cmd: `test -d testdir && find testdir`,
309 cmd: `if [ -d testdir ] ; then find testdir ; fi`,
318 cmd: `if [ -d testdir ]; then find testdir; fi`,
327 cmd: `if [ -d testdir ]; then cd testdir && find .; fi`,
337 cmd: `find testdir -name dir2 -prune -o -name file1`,
345 cmd: `find testdir testdir`,
353 cmd: `find -L testdir -type f`,
362 cmd: `cd testdir; find -L . -type f`,
372 cmd: `find testdir -maxdepth 1`,
380 cmd: `find testdir -maxdepth 0`,
388 fc, err := parseFindCommand(tc.cmd)
390 t.Errorf("parseFindCommand(%q)=_, %v; want=_, <nil>", tc.cmd, err)
394 t.Errorf("parseFindCommand(%q)=%#v\n want=%#v\n", tc.cmd, got, want)
401 for _, cmd := range []string{
406 _, err := parseFindCommand(cmd)
408 t.Errorf("parseFindCommand(%q)=_, <nil>; want=_, err", cmd)
706 cmd string
710 cmd: `build/tools/findleaves.py --prune=out --prune=.repo --prune=.git . CleanSpec.mk`,
719cmd: `build/tools/findleaves.py --prune=out --prune=.repo --prune=.git --mindepth=2 art bionic An…
728 fc, err := parseFindleavesCommand(tc.cmd)
730 t.Errorf("parseFindleavesCommand(%q)=_, %v; want=_, <nil", tc.cmd, err)
734 t.Errorf("parseFindleavesCommand(%q)=%#v\n want=%#v\n", tc.cmd, got, want)