Home | History | Annotate | Download | only in regress

Lines Matching full:rename

43 verbose "$tid: rename nonexistent"
44 echo "rename $NONEXIST ${COPY}.1" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
45 || fail "rename nonexist failed"
46 test -f ${COPY}.1 && fail "file exists after rename nonexistent"
51 verbose "$tid: rename target exists (directory)"
52 echo "rename $COPY ${COPY}.dd" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
53 || fail "rename target exists (directory) failed"
54 test -f ${COPY} || fail "oldname missing after rename target exists (directory)"
55 test -d ${COPY}.dd || fail "newname missing after rename target exists (directory)"
56 cmp $DATA ${COPY} >/dev/null 2>&1 || fail "corrupted oldname after rename target exists (directory)"