[openssh-commits] [openssh] 03/03: upstream: Add tests for TOKEN expansion of LocalForward and
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Apr 10 11:48:06 AEST 2020
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit b6a4013647db67ec622c144a9e05dd768f1966b3
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Fri Apr 10 00:54:03 2020 +0000
upstream: Add tests for TOKEN expansion of LocalForward and
RemoteForward.
OpenBSD-Regress-ID: 90fcbc60d510eb114a2b6eaf4a06ff87ecd80a89
---
regress/percent.sh | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/regress/percent.sh b/regress/percent.sh
index 566700ea..2e891f69 100644
--- a/regress/percent.sh
+++ b/regress/percent.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: percent.sh,v 1.5 2020/04/04 22:14:26 dtucker Exp $
+# $OpenBSD: percent.sh,v 1.6 2020/04/10 00:54:03 dtucker Exp $
# Placed in the Public Domain.
tid="percent expansions"
@@ -38,6 +38,13 @@ trial()
${SSH} -F $OBJ/ssh_proxy_match remuser at somehost true || true
got=`cat $OBJ/actual`
;;
+ *forward)
+ # LocalForward and RemoteForward take two args and only
+ # operate on Unix domain socket paths
+ got=`${SSH} -F $OBJ/ssh_proxy -o $opt="/$arg /$arg" -G \
+ remuser at somehost | awk '$1=="'$opt'"{print $2" "$3}'`
+ expect="/$expect /$expect"
+ ;;
*)
got=`${SSH} -F $OBJ/ssh_proxy -o $opt="$arg" -G \
remuser at somehost | awk '$1=="'$opt'"{print $2}'`
@@ -48,7 +55,7 @@ trial()
}
for i in matchexec localcommand remotecommand controlpath identityagent \
- forwardagent; do
+ forwardagent localforward remoteforward; do
verbose $tid $i
if [ "$i" = "localcommand" ]; then
REMUSER=$USER
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list