diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-05-17 09:07:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-05-17 09:07:12 +1000 |
commit | 712de4d1100963b11bc618472f95ce36bf7e2ae3 (patch) | |
tree | 17e52399255f7d44cc506926001ce78cabcf69b2 /regress | |
parent | 09c0f0325b2f538de9a1073e03b8ef26dece4c16 (diff) |
- djm@cvs.openbsd.org 2013/03/07 00:20:34
[regress/proxy-connect.sh]
repeat test with a style appended to the username
Diffstat (limited to 'regress')
-rw-r--r-- | regress/proxy-connect.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/regress/proxy-connect.sh b/regress/proxy-connect.sh index 6a36b2513..76e602dd6 100644 --- a/regress/proxy-connect.sh +++ b/regress/proxy-connect.sh | |||
@@ -1,8 +1,9 @@ | |||
1 | # $OpenBSD: proxy-connect.sh,v 1.5 2002/12/09 15:28:46 markus Exp $ | 1 | # $OpenBSD: proxy-connect.sh,v 1.6 2013/03/07 00:20:34 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="proxy connect" | 4 | tid="proxy connect" |
5 | 5 | ||
6 | verbose "plain username" | ||
6 | for p in 1 2; do | 7 | for p in 1 2; do |
7 | ${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true | 8 | ${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true |
8 | if [ $? -ne 0 ]; then | 9 | if [ $? -ne 0 ]; then |
@@ -16,3 +17,10 @@ for p in 1 2; do | |||
16 | fail "bad SSH_CONNECTION" | 17 | fail "bad SSH_CONNECTION" |
17 | fi | 18 | fi |
18 | done | 19 | done |
20 | |||
21 | verbose "username with style" | ||
22 | for p in 1 2; do | ||
23 | ${SSH} -$p -F $OBJ/ssh_proxy ${USER}:style@999.999.999.999 true || \ | ||
24 | fail "ssh proxyconnect protocol $p failed" | ||
25 | done | ||
26 | |||