Lines Matching refs:DIR
18 DIR=${COPY}.dd
27 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
28 mkdir ${DIR} ${DIR2}
49 $SCP $scpopts ${COPY} somehost:${DIR} || fail "copy failed"
50 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
55 $SCP $scpopts ${COPY} ${DIR} || fail "copy failed"
56 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
61 $SCP $scpopts somehost:${COPY} ${DIR} || fail "copy failed"
62 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
67 cp ${DATA} ${DIR}/copy
68 $SCP $scpopts -r ${DIR} somehost:${DIR2} || fail "copy failed"
69 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
74 cp ${DATA} ${DIR}/copy
75 $SCP $scpopts -r ${DIR} ${DIR2} || fail "copy failed"
76 diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy"
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"