diff options
author | 2014-01-19 23:43:02 +0000 | |
---|---|---|
committer | 2014-01-19 23:43:02 +0000 | |
commit | d0627b28afd558eadc48b5d7232e815d9f289810 (patch) | |
tree | 74f28f0aa7c540139a52a9df27713b0c25f22c5c | |
parent | do not truncate strlcpy/snprintf, fail hard and proper (diff) | |
download | wireguard-openbsd-d0627b28afd558eadc48b5d7232e815d9f289810.tar.xz wireguard-openbsd-d0627b28afd558eadc48b5d7232e815d9f289810.zip |
Don't use -q on sftp as it suppresses logging, instead redirect the output to
the regress logfile.
-rw-r--r-- | regress/usr.bin/ssh/sftp-chroot.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/sftp-chroot.sh b/regress/usr.bin/ssh/sftp-chroot.sh index 98a364ebf82..6743cc9f446 100644 --- a/regress/usr.bin/ssh/sftp-chroot.sh +++ b/regress/usr.bin/ssh/sftp-chroot.sh @@ -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. tid="sftp in chroot" @@ -17,7 +17,8 @@ $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ start_sshd -oChrootDirectory=$CHROOT -oForceCommand="internal-sftp -d /" 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" cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ" |