summaryrefslogtreecommitdiff
path: root/tests/configs
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-12-03 14:04:00 -0500
committerJeff Forcier <jeff@bitprophet.org>2019-12-03 14:04:00 -0500
commit84fa355a253d30d6c39adaea8bb095ced0c3b751 (patch)
treedda481f679fbd57b7a1760dfa42903b5a9e58b59 /tests/configs
parent8ce1e4c36c43363dcc5964daaf6e06754bf12cc2 (diff)
downloadparamiko-84fa355a253d30d6c39adaea8bb095ced0c3b751.tar.gz
Apply %h tokenization to HostName
This was another spot that incidentally occurred in older (and moved) code, but was made incorrect after cleanup
Diffstat (limited to 'tests/configs')
-rw-r--r--tests/configs/hostname-exec-tokenized2
-rw-r--r--tests/configs/hostname-tokenized1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/configs/hostname-exec-tokenized b/tests/configs/hostname-exec-tokenized
new file mode 100644
index 00000000..1cae2c03
--- /dev/null
+++ b/tests/configs/hostname-exec-tokenized
@@ -0,0 +1,2 @@
+Match exec "ping %h"
+ HostName pingable.%h
diff --git a/tests/configs/hostname-tokenized b/tests/configs/hostname-tokenized
new file mode 100644
index 00000000..1905c0cc
--- /dev/null
+++ b/tests/configs/hostname-tokenized
@@ -0,0 +1 @@
+HostName prefix.%h