Lines Matching full:dir

16 DIR=${COPY}.dd
26 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
27 mkdir ${DIR} ${DIR2}
28 chmod 755 ${DIR} ${DIR2}
46 verbose "$tid: simple copy local file to remote dir"
49 $SCP $scpopts ${COPY} somehost:${DIR} || fail "copy failed"
50 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
52 verbose "$tid: simple copy local file to local dir"
55 $SCP $scpopts ${COPY} ${DIR} || fail "copy failed"
56 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
58 verbose "$tid: simple copy remote file to local dir"
61 $SCP $scpopts somehost:${COPY} ${DIR} || fail "copy failed"
62 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
64 verbose "$tid: recursive local dir to remote dir"
67 cp ${DATA} ${DIR}/copy
68 $SCP $scpopts -r ${DIR} somehost:${DIR2} || fail "copy failed"
69 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
71 verbose "$tid: recursive local dir to local dir"
74 cp ${DATA} ${DIR}/copy
75 $SCP $scpopts -r ${DIR} ${DIR2} || fail "copy failed"
76 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
78 verbose "$tid: recursive remote dir to local dir"
81 cp ${DATA} ${DIR}/copy
82 $SCP $scpopts -r somehost:${DIR} ${DIR2} || fail "copy failed"
83 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
87 (cd ${DIR} && \
95 cp -p ${DATA} ${DIR}/copy
96 cp -p ${DATA} ${DIR}/copy2
100 $SCP -p $scpopts somehost:${DIR}/\* ${DIR2} >/dev/null 2>&1
101 $SUDO diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
108 export DIR SCPTESTMODE
110 $SCP $scpopts somehost:${DATA} ${DIR} >/dev/null 2>/dev/null
111 [ -d {$DIR}/rootpathdir ] && fail "allows dir relative to root dir"
112 [ -d ${DIR}/dotpathdir ] && fail "allows dir creation in non-recursive mode"
116 [ -d ${DIR}/dotpathdir ] && fail "allows dir creation outside of subdir"