mirror of git://anongit.mindrot.org/openssh.git
upstream: cannot effectively test posix-rename extension after
changes in feature advertisment. OpenBSD-Regress-ID: 5e390bf88d379162aaa81b60ed86b34cb0c54d29
This commit is contained in:
parent
259d648e63
commit
4cbc4a7228
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: sftp-perm.sh,v 1.2 2013/10/17 22:00:18 djm Exp $
|
# $OpenBSD: sftp-perm.sh,v 1.3 2021/03/31 21:59:26 djm Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="sftp permissions"
|
tid="sftp permissions"
|
||||||
|
@ -220,13 +220,15 @@ perm_test \
|
||||||
"test ! -d ${COPY}.dd" \
|
"test ! -d ${COPY}.dd" \
|
||||||
"test -d ${COPY}.dd"
|
"test -d ${COPY}.dd"
|
||||||
|
|
||||||
perm_test \
|
# Can't readily test this because the client falls back to traditional rename.
|
||||||
"posix-rename" \
|
# XXX maybe there is a behaviorial difference we can test for?
|
||||||
"realpath,stat,lstat" \
|
#perm_test \
|
||||||
"rename $COPY ${COPY}.1" \
|
# "posix-rename" \
|
||||||
"touch $COPY" \
|
# "realpath,stat,lstat" \
|
||||||
"test -f ${COPY}.1 -a ! -f $COPY" \
|
# "rename $COPY ${COPY}.1" \
|
||||||
"test -f $COPY -a ! -f ${COPY}.1"
|
# "touch $COPY" \
|
||||||
|
# "test -f ${COPY}.1 -a ! -f $COPY" \
|
||||||
|
# "test -f $COPY -a ! -f ${COPY}.1"
|
||||||
|
|
||||||
perm_test \
|
perm_test \
|
||||||
"rename" \
|
"rename" \
|
||||||
|
|
Loading…
Reference in New Issue