Lines Matching full:copy
7 DIR=${COPY}.dd
8 DIR2=${COPY}.dd2
18 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
23 # Create directory structure for recursive copy tests.
27 cp ${DATA} ${DIR}/copy
28 ln -s ${DIR}/copy ${DIR}/copy-sym
30 cp ${DATA} ${DIR}/subdir/copy
43 verbose "$tag: simple copy remote file to remote file"
45 $SCP $scpopts -3 hostA:${DATA} hostB:${COPY} || fail "copy failed"
46 cmp ${DATA} ${COPY} || fail "corrupted copy"
48 verbose "$tag: simple copy remote file to remote dir"
50 cp ${DATA} ${COPY}
51 $SCP $scpopts -3 hostA:${COPY} hostB:${DIR} || fail "copy failed"
52 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
56 $SCP $scpopts -3r hostA:${DIR} hostB:${DIR2} || fail "copy failed"
57 diff -r ${DIR} ${DIR2} || fail "corrupted copy"
58 diff -r ${DIR2} ${DIR} || fail "corrupted copy"
62 echo a > ${COPY}
64 $SCP $scpopts -3 hostA:${DATA} hostA:${COPY} hostB:${COPY2}
65 cmp ${COPY} ${COPY2} >/dev/null && fail "corrupt target"