summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/forwarding.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2012-06-01 00:47:37 +0000
committerDamien Miller <djm@cvs.openbsd.org>2012-06-01 00:47:37 +0000
commite43ae1c437e45f70b53d352b8e8974cb646bc833 (patch)
tree7af293f91637537d2f365f4974fb5feac63e469c /regress/usr.bin/ssh/forwarding.sh
parent925f8c37c3f2bf635f5c3120e7b0e50689d1e669 (diff)
append to rather than truncate test log; bz#2013 from openssh AT
roumenpetrov.info
Diffstat (limited to 'regress/usr.bin/ssh/forwarding.sh')
-rw-r--r--regress/usr.bin/ssh/forwarding.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/forwarding.sh b/regress/usr.bin/ssh/forwarding.sh
index adcd100f23b..242d7a986bb 100644
--- a/regress/usr.bin/ssh/forwarding.sh
+++ b/regress/usr.bin/ssh/forwarding.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: forwarding.sh,v 1.7 2010/01/11 02:53:44 dtucker Exp $
+# $OpenBSD: forwarding.sh,v 1.8 2012/06/01 00:47:35 djm Exp $
# Placed in the Public Domain.
tid="local and remote forwarding"
@@ -74,7 +74,7 @@ for p in 1 2; do
else
# this one should fail
${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \
- 2>${TEST_SSH_LOGFILE} && \
+ 2>>$TEST_SSH_LOGFILE && \
fail "local forwarding not cleared"
fi
sleep 10
@@ -87,7 +87,7 @@ for p in 1 2; do
else
# this one should fail
${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \
- 2>${TEST_SSH_LOGFILE} && \
+ 2>>$TEST_SSH_LOGFILE && \
fail "remote forwarding not cleared"
fi
sleep 10