Lines Matching full:rename
197 verbose "$tid: rename"
198 echo "rename $COPY ${COPY}.1" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
199 || fail "rename failed"
200 test -f ${COPY}.1 || fail "missing file after rename"
201 cmp $DATA ${COPY}.1 >/dev/null 2>&1 || fail "corrupted copy after rename"
203 verbose "$tid: rename directory"
204 echo "rename ${COPY}.dd ${COPY}.dd2" | \
206 fail "rename directory failed"
207 test -d ${COPY}.dd && fail "oldname exists after rename directory"
208 test -d ${COPY}.dd2 || fail "missing newname after rename directory"