Lines Matching full:two
15 testing "-missing source [fail]" "cp missing two 2>/dev/null || echo yes" \
17 testing "file->file" "cp random two && cmp random two && echo yes" \
19 rm two
21 mkdir two
22 testing "file->dir" "cp random two && cmp random two/random && echo yes" \
24 rm two/random
26 "cp random two/random && cmp random two/random && echo yes" \
29 "cp -r two three && cmp random three/random && echo yes" \
33 "cp -r two walrus 2>/dev/null || echo yes" "yes\n" "" ""
34 touch two/three
36 "cp -r three two 2>/dev/null || echo yes" "yes\n" "" ""
37 rm -rf two three walrus
39 touch two
40 chmod 000 two
43 "cp random two 2>/dev/null || echo yes" "yes\n" "" ""
44 rm -f two
46 touch two
47 chmod 000 two
50 "cp -f random two && cmp random two && echo yes" "yes\n" "" ""
56 rm two
69 touch one two
71 "cp one two missing 2>/dev/null || echo yes" "yes\n" "" ""
74 "cp dir two missing 2>/dev/null || echo yes" "yes\n" "" ""
76 "cp dir two missing 2>/dev/null || echo yes" "yes\n" "" ""
78 "cp random one two 2>/dev/null || echo yes" "yes\n" "" ""
82 rm one two random
85 mkdir -p one/two/three/four
86 touch one/two/three/five one/{six,seven,eight}
97 mkdir one; touch one/two; cp one/two one/three
101 mkdir one; touch one/two; ln -s two one/three
139 testing '-u1' 'echo one>one; sleep .1; echo two>two; cp -u one two; cat two' \
140 'two\n' '' ''
141 testing '-u2' 'echo two>two; sleep .1; echo one>one; cp -u one two; cat two' \
145 # cp -r one/two/three missing
146 # cp -r one/two/three two