- dtucker@cvs.openbsd.org 2014/01/19 23:43:02
[regress/sftp-chroot.sh] Don't use -q on sftp as it suppresses logging, instead redirect the output to the regress logfile.
This commit is contained in:
parent
6486f16f1c
commit
f483cc16fe
|
@ -14,6 +14,11 @@
|
||||||
- djm@cvs.openbsd.org 2014/02/27 22:57:40
|
- djm@cvs.openbsd.org 2014/02/27 22:57:40
|
||||||
[version.h]
|
[version.h]
|
||||||
openssh-6.6
|
openssh-6.6
|
||||||
|
- dtucker@cvs.openbsd.org 2014/01/19 23:43:02
|
||||||
|
[regress/sftp-chroot.sh]
|
||||||
|
Don't use -q on sftp as it suppresses logging, instead redirect the
|
||||||
|
output to the regress logfile.
|
||||||
|
|
||||||
- (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
|
- (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
|
||||||
[contrib/suse/openssh.spec] Crank version numbers
|
[contrib/suse/openssh.spec] Crank version numbers
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: sftp-chroot.sh,v 1.2 2013/05/17 04:29:14 dtucker Exp $
|
# $OpenBSD: sftp-chroot.sh,v 1.3 2014/01/19 23:43:02 dtucker Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="sftp in chroot"
|
tid="sftp in chroot"
|
||||||
|
@ -18,7 +18,8 @@ $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \
|
||||||
start_sshd -oChrootDirectory=$CHROOT -oForceCommand="internal-sftp -d /"
|
start_sshd -oChrootDirectory=$CHROOT -oForceCommand="internal-sftp -d /"
|
||||||
|
|
||||||
verbose "test $tid: get"
|
verbose "test $tid: get"
|
||||||
${SFTP} -qS "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY || \
|
${SFTP} -S "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY \
|
||||||
|
>$TEST_REGRESS_LOGFILE 2>&1 || \
|
||||||
fatal "Fetch ${FILENAME} failed"
|
fatal "Fetch ${FILENAME} failed"
|
||||||
cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ"
|
cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue