diff options
author | Damien Miller <djm@mindrot.org> | 2014-02-28 10:19:51 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-02-28 10:19:51 +1100 |
commit | 1e2aa3d90472293ea19008f02336d6d68aa05793 (patch) | |
tree | a4b5eebb25cdf6c4c4a11635516b4964607036a4 /regress/sftp-chroot.sh | |
parent | f483cc16fe7314e24a37aa3a4422b03c013c3213 (diff) |
- dtucker@cvs.openbsd.org 2014/01/20 00:00:30
[sftp-chroot.sh]
append to rather than truncating the log file
Diffstat (limited to 'regress/sftp-chroot.sh')
-rw-r--r-- | regress/sftp-chroot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-chroot.sh b/regress/sftp-chroot.sh index cb731dfe8..23f7456e8 100644 --- a/regress/sftp-chroot.sh +++ b/regress/sftp-chroot.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sftp-chroot.sh,v 1.3 2014/01/19 23:43:02 dtucker Exp $ | 1 | # $OpenBSD: sftp-chroot.sh,v 1.4 2014/01/20 00:00:30 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="sftp in chroot" | 4 | tid="sftp in chroot" |
@@ -19,7 +19,7 @@ start_sshd -oChrootDirectory=$CHROOT -oForceCommand="internal-sftp -d /" | |||
19 | 19 | ||
20 | verbose "test $tid: get" | 20 | verbose "test $tid: get" |
21 | ${SFTP} -S "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY \ | 21 | ${SFTP} -S "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY \ |
22 | >$TEST_REGRESS_LOGFILE 2>&1 || \ | 22 | >>$TEST_REGRESS_LOGFILE 2>&1 || \ |
23 | fatal "Fetch ${FILENAME} failed" | 23 | fatal "Fetch ${FILENAME} failed" |
24 | cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ" | 24 | cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ" |
25 | 25 | ||