diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-02-17 02:24:17 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-02-17 16:37:54 +1100 |
commit | 624fd395b559820705171f460dd33d67743d13d6 (patch) | |
tree | a779dbaf3a8214da6a986e656999708b681fefd6 /regress | |
parent | 60d860e54b4f199e5e89963b1c086981309753cb (diff) |
upstream commit
include bad $SSH_CONNECTION in failure output
Upstream-Regress-ID: b22d72edfde78c403aaec2b9c9753ef633cc0529
Diffstat (limited to 'regress')
-rw-r--r-- | regress/proxy-connect.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/proxy-connect.sh b/regress/proxy-connect.sh index f816962b5..b7a43fabe 100644 --- a/regress/proxy-connect.sh +++ b/regress/proxy-connect.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: proxy-connect.sh,v 1.8 2015/03/03 22:35:19 markus Exp $ | 1 | # $OpenBSD: proxy-connect.sh,v 1.9 2016/02/17 02:24:17 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="proxy connect" | 4 | tid="proxy connect" |
@@ -18,7 +18,8 @@ for ps in no yes; do | |||
18 | fail "ssh proxyconnect protocol $p privsep=$ps comp=$c failed" | 18 | fail "ssh proxyconnect protocol $p privsep=$ps comp=$c failed" |
19 | fi | 19 | fi |
20 | if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then | 20 | if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then |
21 | fail "bad SSH_CONNECTION protocol $p privsep=$ps comp=$c" | 21 | fail "bad SSH_CONNECTION protocol $p privsep=$ps comp=$c: " \ |
22 | "$SSH_CONNECTION" | ||
22 | fi | 23 | fi |
23 | done | 24 | done |
24 | done | 25 | done |