summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2020-07-17 07:10:25 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2020-07-17 07:10:25 +0000
commit76104474ab8266273ce40471d145b8881a17c29d (patch)
tree256cff4dd5a2b6ca397454d3deb15d623530d770 /regress
parenta646e1c70b9c6ae16eaec93aea12a8c797807a24 (diff)
Add test for '%k' (HostKeyAlias) TOKEN.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/percent.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/percent.sh b/regress/usr.bin/ssh/percent.sh
index b64d2b5160f..54ab0e7cc60 100644
--- a/regress/usr.bin/ssh/percent.sh
+++ b/regress/usr.bin/ssh/percent.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: percent.sh,v 1.8 2020/07/17 03:26:58 dtucker Exp $
+# $OpenBSD: percent.sh,v 1.9 2020/07/17 07:10:24 dtucker Exp $
# Placed in the Public Domain.
tid="percent expansions"
@@ -82,6 +82,7 @@ for i in matchexec localcommand remotecommand controlpath identityagent \
trial $i '%L' $HOST
trial $i '%l' $HOSTNAME
trial $i '%n' somehost
+ trial $i '%k' localhost-with-alias
trial $i '%p' $PORT
trial $i '%r' $REMUSER
trial $i '%u' $USER