Lines Matching full:copy
55 rm -f ${COPY}
57 ${SSH} $mode -F $OBJ/ssh_config -S$CTL otherhost cat ${DATA} > ${COPY}
58 test -f ${COPY} || fail "ssh -Sctl: failed copy ${DATA}"
59 cmp ${DATA} ${COPY} || fail "ssh -Sctl: corrupted copy of ${DATA}"
61 rm -f ${COPY}
63 ${SSH} $mode -F $OBJ/ssh_config -S $CTL otherhost cat ${DATA} > ${COPY}
64 test -f ${COPY} || fail "ssh -S ctl: failed copy ${DATA}"
65 cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}"
68 rm -f ${COPY}
70 echo "get ${DATA} ${COPY}" | \
72 test -f ${COPY} || fail "sftp: failed copy ${DATA}"
73 cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}"
75 rm -f ${COPY}
77 ${SCP} -S ${SSH} -F $OBJ/ssh_config -oControlPath=$CTL otherhost:${DATA} ${COPY} >>$TEST_REGRESS_LOGFILE 2>&1
78 test -f ${COPY} || fail "scp: failed copy ${DATA}"
79 cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}"
81 rm -f ${COPY}
88 $NC 127.0.0.1 $((${PORT} + 2)) < /dev/null > ${COPY}
89 cmp ${DATA} ${COPY} || fail "ssh: corrupted copy of ${DATA}"
91 rm -f ${COPY} $OBJ/unix-[123].fwd
99 $NC -U $OBJ/unix-3.fwd < /dev/null > ${COPY}
100 cmp ${DATA} ${COPY} || fail "ssh: corrupted copy of ${DATA}"
102 rm -f ${COPY} $OBJ/unix-[123].fwd