summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-17 01:07:12 +0200
committerDarren Tucker <dtucker@zip.com.au>2013-05-17 01:07:12 +0200
commit712de4d1100963b11bc618472f95ce36bf7e2ae3 (patch)
tree17e52399255f7d44cc506926001ce78cabcf69b2 /regress
parent - dtucker@cvs.openbsd.org 2013/05/16 10:44:06 (diff)
downloadopenssh-712de4d1100963b11bc618472f95ce36bf7e2ae3.tar.xz
openssh-712de4d1100963b11bc618472f95ce36bf7e2ae3.zip
- 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.sh10
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 @@
-# $OpenBSD: proxy-connect.sh,v 1.5 2002/12/09 15:28:46 markus Exp $
+# $OpenBSD: proxy-connect.sh,v 1.6 2013/03/07 00:20:34 djm Exp $
# Placed in the Public Domain.
tid="proxy connect"
+verbose "plain username"
for p in 1 2; do
${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true
if [ $? -ne 0 ]; then
@@ -16,3 +17,10 @@ for p in 1 2; do
fail "bad SSH_CONNECTION"
fi
done
+
+verbose "username with style"
+for p in 1 2; do
+ ${SSH} -$p -F $OBJ/ssh_proxy ${USER}:style@999.999.999.999 true || \
+ fail "ssh proxyconnect protocol $p failed"
+done
+