summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-03-24 21:46:54 +0000
committerdjm <djm@openbsd.org>2008-03-24 21:46:54 +0000
commitf66c28a8322786466bf75cef31c2da264d71cf59 (patch)
tree799605c4c5f05236e707e58fd3cb7a8777f25549
parentMake it possible to disable/enable pseudo devices in UKC, config file and (diff)
downloadwireguard-openbsd-f66c28a8322786466bf75cef31c2da264d71cf59.tar.xz
wireguard-openbsd-f66c28a8322786466bf75cef31c2da264d71cf59.zip
disable no-replace rename test now that we prefer a POSIX rename; spotted
by dkrause@
-rw-r--r--regress/usr.bin/ssh/sftp-badcmds.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/regress/usr.bin/ssh/sftp-badcmds.sh b/regress/usr.bin/ssh/sftp-badcmds.sh
index ca46909c025..2cbc7019493 100644
--- a/regress/usr.bin/ssh/sftp-badcmds.sh
+++ b/regress/usr.bin/ssh/sftp-badcmds.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sftp-badcmds.sh,v 1.2 2003/05/15 04:07:12 mouring Exp $
+# $OpenBSD: sftp-badcmds.sh,v 1.3 2008/03/24 21:46:54 djm Exp $
# Placed in the Public Domain.
tid="sftp invalid commands"
@@ -45,17 +45,6 @@ echo "rename $NONEXIST ${COPY}.1" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|| fail "rename nonexist failed"
test -f ${COPY}.1 && fail "file exists after rename nonexistent"
-rm -f ${COPY} ${COPY}.1
-cp $DATA $COPY
-cp $DATA2 ${COPY}.1
-verbose "$tid: rename target exists"
-echo "rename $COPY ${COPY}.1" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
- || fail "rename target exists failed"
-test -f ${COPY} || fail "oldname missing after rename target exists"
-test -f ${COPY}.1 || fail "newname missing after rename target exists"
-cmp $DATA ${COPY} >/dev/null 2>&1 || fail "corrupted oldname after rename target exists"
-cmp $DATA2 ${COPY}.1 >/dev/null 2>&1 || fail "corrupted newname after rename target exists"
-
rm -rf ${COPY} ${COPY}.dd
cp $DATA $COPY
mkdir ${COPY}.dd