• Home
  • Raw
  • Download

Lines Matching refs:testing

3 [ -f testing.sh ] && . testing.sh
23 testing "-type l -a -type d -o -type p" \
25 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \
27 testing "-type l -o -type d -a -type p" \
29 testing "-type l -o -type d -type p" "find dir -type l -o -type d -type p" \
31 testing "-type l ( -type d -o -type l )" \
33 testing "extra parentheses" \
36 testing "( -type p -o -type d ) -type p" \
38 testing "-type l -o -type d -type p -o -type f" \
41 testing "-type l,f" \
46 testing "-type f -a -print" \
48 testing "-print -o -print" \
57 testing " " "cd perm; find" ".\n./all-read-only\n" "" ""
58 testing "-type f -user -exec" \
60 testing "-type l -newer -exec" \
62 testing "-exec true \\; -print" \
64 testing "-exec false \\; -print" \
66 testing "-perm (exact success)" \
68 testing "-perm (exact failure)" \
70 testing "-perm (min success)" \
72 testing "-perm (min failure)" \
74 testing "-perm (any success)" \
76 testing "-perm (any failure)" \
79 testing "unterminated -exec {}" \
81 testing "-exec {} +" \
85 testing "-name file" "find dir -name file" "dir/file\n" "" ""
86 testing "-name FILE" "find dir -name FILE" "" "" ""
88 testing "-iname file" "find dir -iname FILE" "dir/file\n" "" ""
89 testing "-iname FILE" "find dir -iname FILE" "dir/file\n" "" ""
92 testing "-name (no arguments)" \
94 testing "-iname (no arguments)" \
97 testing "" "find dir \( -iname file -o -iname missing \) -exec echo {} \;" \
100 testing "-path glob" "find dir -path 'dir*e'" "dir/file\n" "" ""
101 testing "-wholename glob" "find dir -wholename 'dir*e'" "dir/file\n" "" ""
102 testing "-ipath glob" "find dir -ipath 'dIr*E'" "dir/file\n" "" ""
103 testing "-iwholename glob" "find dir -iwholename 'dIr*E'" "dir/file\n" "" ""
104 testing "-printf" "find dir -name file -printf '%f %p %P %s'" \
106 testing "-printf .N" "find dir -name file -printf %.2f" "fi" "" ""
108 testing "-printf escapes" \
113 testing "-printf \\c escape" "find dir -name f* -printf 'x\cy'" "xx" "" ""
117 testing "-L dangling symlink silent" \
123 testing "-L symlink loop noisy" \
128 testing "-false" "find dir -false" "" "" ""
129 testing "-true" "find dir/file -true" "dir/file\n" "" ""
131 testing "missing root error" \
135 testing "-path match root" "find dir/f* -path dir/file" "dir/file\n" "" ""
136 testing "-name match root" "find dir/f* -name file" "dir/file\n" "" ""
140 testing "-H broken" "find -H broken" "broken\n" "" ""
141 testing "-L broken" "find -L broken" "broken\n" "" ""
143 testing "one slash" 'find /etc/ -maxdepth 1 | grep /passwd\$' '/etc/passwd\n' \
145 testing 'empty arg' 'find "" dir -name file 2>/dev/null' 'dir/file\n' '' ''