Lines Matching full:yes
10 testing "not enough arguments [fail]" "cp one 2>/dev/null || echo yes" \
11 "yes\n" "" ""
12 testing "-missing source [fail]" "cp missing two 2>/dev/null || echo yes" \
13 "yes\n" "" ""
14 testing "file->file" "cp random two && cmp random two && echo yes" \
15 "yes\n" "" ""
19 testing "file->dir" "cp random two && cmp random two/random && echo yes" \
20 "yes\n" "" ""
23 "cp random two/random && cmp random two/random && echo yes" \
24 "yes\n" "" ""
26 "cp -r two three && cmp random three/random && echo yes" \
27 "yes\n" "" ""
30 "cp -r two walrus 2>/dev/null || echo yes" "yes\n" "" ""
33 "cp -r three two 2>/dev/null || echo yes" "yes\n" "" ""
39 "cp random two 2>/dev/null || echo yes" "yes\n" "" ""
45 "cp -f random two && cmp random two && echo yes" "yes\n" "" ""
49 "cp random sub 2>/dev/null || echo yes" "yes\n" "" ""
59 #testing "-rf dir file [fail]" "cp -rf dir file 2>/dev/null || echo yes" \
60 # "yes\n" "" ""
65 "cp one two missing 2>/dev/null || echo yes" "yes\n" "" ""
68 "cp dir two missing 2>/dev/null || echo yes" "yes\n" "" ""
70 "cp dir two missing 2>/dev/null || echo yes" "yes\n" "" ""
72 "cp random one two 2>/dev/null || echo yes" "yes\n" "" ""
74 "cp random one dir && cmp random dir/random && cmp one dir/one && echo yes" \
75 "yes\n" "" ""
83 "cp -r \"$(readlink -f one)\" dir && diff -r one dir && echo yes" \
84 "yes\n" "" ""
85 testing "-r dir again" "cp -r one/. dir && diff -r one dir && echo yes" \
86 "yes\n" "" ""
89 "cp -r one/* dir2 && diff -r one dir2 && echo yes" "yes\n" "" ""