summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-02-17 02:24:17 +0000
committerDamien Miller <djm@mindrot.org>2016-02-17 16:37:54 +1100
commit624fd395b559820705171f460dd33d67743d13d6 (patch)
treea779dbaf3a8214da6a986e656999708b681fefd6
parent60d860e54b4f199e5e89963b1c086981309753cb (diff)
upstream commit
include bad $SSH_CONNECTION in failure output Upstream-Regress-ID: b22d72edfde78c403aaec2b9c9753ef633cc0529
-rw-r--r--regress/proxy-connect.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/proxy-connect.sh b/regress/proxy-connect.sh
index f816962b..b7a43fab 100644
--- a/regress/proxy-connect.sh
+++ b/regress/proxy-connect.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: proxy-connect.sh,v 1.8 2015/03/03 22:35:19 markus Exp $
+# $OpenBSD: proxy-connect.sh,v 1.9 2016/02/17 02:24:17 djm Exp $
# Placed in the Public Domain.
tid="proxy connect"
@@ -18,7 +18,8 @@ for ps in no yes; do
fail "ssh proxyconnect protocol $p privsep=$ps comp=$c failed"
fi
if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then
- fail "bad SSH_CONNECTION protocol $p privsep=$ps comp=$c"
+ fail "bad SSH_CONNECTION protocol $p privsep=$ps comp=$c: " \
+ "$SSH_CONNECTION"
fi
done
done