Lines Matching refs:COPY
14 COPY=$OBJ/ls.copy
36 rm -f ${COPY}
38 ${SSH} -F $OBJ/ssh_config -S$CTL otherhost cat ${DATA} > ${COPY}
39 test -f ${COPY} || fail "ssh -Sctl: failed copy ${DATA}"
40 cmp ${DATA} ${COPY} || fail "ssh -Sctl: corrupted copy of ${DATA}"
42 rm -f ${COPY}
44 ${SSH} -F $OBJ/ssh_config -S $CTL otherhost cat ${DATA} > ${COPY}
45 test -f ${COPY} || fail "ssh -S ctl: failed copy ${DATA}"
46 cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}"
48 rm -f ${COPY}
50 echo "get ${DATA} ${COPY}" | \
52 test -f ${COPY} || fail "sftp: failed copy ${DATA}"
53 cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}"
55 rm -f ${COPY}
57 ${SCP} -S ${SSH} -F $OBJ/ssh_config -oControlPath=$CTL otherhost:${DATA} ${COPY} >$LOG 2>&1
58 test -f ${COPY} || fail "scp: failed copy ${DATA}"
59 cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}"
61 rm -f ${COPY}