summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2016-02-17 02:24:18 +0000
committerDamien Miller <djm@cvs.openbsd.org>2016-02-17 02:24:18 +0000
commit536393486dab3d5dacf552515eb64dcb7bcbafbb (patch)
tree4ac5e53d07da450e0d115d936751e82556ef8079 /regress
parent1d458a7f4c578dfa53b7edae59099464d23a08bb (diff)
include bad $SSH_CONNECTION in failure output
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/proxy-connect.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/proxy-connect.sh b/regress/usr.bin/ssh/proxy-connect.sh
index f816962b592..b7a43fabe78 100644
--- a/regress/usr.bin/ssh/proxy-connect.sh
+++ b/regress/usr.bin/ssh/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