summaryrefslogtreecommitdiffstats
path: root/test/fixtures/_known_hosts_real/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/fixtures/_known_hosts/config_full_path (renamed from test/fixtures/_known_hosts_real/config_full_path)0
-rw-r--r--test/fixtures/_known_hosts/config_include (renamed from test/fixtures/_known_hosts_real/config_include)4
-rw-r--r--test/fixtures/_known_hosts/config_include_recursion (renamed from test/fixtures/_known_hosts_real/config_include_recursion)0
-rw-r--r--test/fixtures/_known_hosts_real/config7
-rw-r--r--test/fixtures/_known_hosts_real/config_tilde4
5 files changed, 3 insertions, 12 deletions
diff --git a/test/fixtures/_known_hosts_real/config_full_path b/test/fixtures/_known_hosts/config_full_path
index a91649b..a91649b 100644
--- a/test/fixtures/_known_hosts_real/config_full_path
+++ b/test/fixtures/_known_hosts/config_full_path
diff --git a/test/fixtures/_known_hosts_real/config_include b/test/fixtures/_known_hosts/config_include
index a1ae763..d68b0d8 100644
--- a/test/fixtures/_known_hosts_real/config_include
+++ b/test/fixtures/_known_hosts/config_include
@@ -1,7 +1,9 @@
-#$HOME set to fixtures/_known_hosts_real in unit test
+#$HOME set to fixtures/_known_hosts in unit test
# Include with full path (recursive one)
Include ~/config_full_path
# Include with relative path
Include config_relative_path
# Include with wildcards, and more than one on same row
Include config_asterisk* config_?uestion_mark
+# Include a directory name. This is a misconfiguration, but ssh ignores it without errors.
+Include ../../_known_hosts
diff --git a/test/fixtures/_known_hosts_real/config_include_recursion b/test/fixtures/_known_hosts/config_include_recursion
index 2777069..2777069 100644
--- a/test/fixtures/_known_hosts_real/config_include_recursion
+++ b/test/fixtures/_known_hosts/config_include_recursion
diff --git a/test/fixtures/_known_hosts_real/config b/test/fixtures/_known_hosts_real/config
deleted file mode 100644
index fe3fb54..0000000
--- a/test/fixtures/_known_hosts_real/config
+++ /dev/null
@@ -1,7 +0,0 @@
- UserKnownHostsFile _known_hosts_real/known_hosts
-
- # Unindented
-Host gee* jar?this-part-we-do-not-complete-at-least-yet
- HostName %h.example.com
- # Indented
- Host hus%%eth0 !negated #not-a-comment
diff --git a/test/fixtures/_known_hosts_real/config_tilde b/test/fixtures/_known_hosts_real/config_tilde
deleted file mode 100644
index 4181aaf..0000000
--- a/test/fixtures/_known_hosts_real/config_tilde
+++ /dev/null
@@ -1,4 +0,0 @@
-# With quotes and tilde
-UserKnownHostsFile "~/_known_hosts_real/known_hosts2"
-# Without quotes, with tilde, and another on the same line
-UserKnownHostsFile ~/_known_hosts_real/known_hosts3 _known_hosts_real/known_hosts4