Lines Matching refs:DIR
16 DIR=${COPY}.dd
26 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
27 mkdir ${DIR} ${DIR2}
48 $SCP $scpopts ${COPY} somehost:${DIR} || fail "copy failed"
49 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
54 $SCP $scpopts ${COPY} ${DIR} || fail "copy failed"
55 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
60 $SCP $scpopts somehost:${COPY} ${DIR} || fail "copy failed"
61 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
66 cp ${DATA} ${DIR}/copy
67 $SCP $scpopts -r ${DIR} somehost:${DIR2} || fail "copy failed"
68 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
73 cp ${DATA} ${DIR}/copy
74 $SCP $scpopts -r ${DIR} ${DIR2} || fail "copy failed"
75 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
80 cp ${DATA} ${DIR}/copy
81 $SCP $scpopts -r somehost:${DIR} ${DIR2} || fail "copy failed"
82 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
86 (cd ${DIR} && \
94 cp -p ${DATA} ${DIR}/copy
95 cp -p ${DATA} ${DIR}/copy2
99 $SCP -p $scpopts somehost:${DIR}/\* ${DIR2} >/dev/null 2>&1
100 $SUDO diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
107 export DIR SCPTESTMODE
109 $SCP $scpopts somehost:${DATA} ${DIR} >/dev/null 2>/dev/null
110 [ -d {$DIR}/rootpathdir ] && fail "allows dir relative to root dir"
111 [ -d ${DIR}/dotpathdir ] && fail "allows dir creation in non-recursive mode"
115 [ -d ${DIR}/dotpathdir ] && fail "allows dir creation outside of subdir"