diff options
Diffstat (limited to 'test/fixtures/_known_hosts_real')
9 files changed, 14 insertions, 10 deletions
diff --git a/test/fixtures/_known_hosts_real/.ssh/config_asterisk_1 b/test/fixtures/_known_hosts_real/.ssh/config_asterisk_1 new file mode 100644 index 00000000..fc09eb03 --- /dev/null +++ b/test/fixtures/_known_hosts_real/.ssh/config_asterisk_1 @@ -0,0 +1 @@ +Host asterisk_1 diff --git a/test/fixtures/_known_hosts_real/.ssh/config_asterisk_2 b/test/fixtures/_known_hosts_real/.ssh/config_asterisk_2 new file mode 100644 index 00000000..42243ad2 --- /dev/null +++ b/test/fixtures/_known_hosts_real/.ssh/config_asterisk_2 @@ -0,0 +1 @@ +Host asterisk_2 diff --git a/test/fixtures/_known_hosts_real/.ssh/config_question_mark b/test/fixtures/_known_hosts_real/.ssh/config_question_mark new file mode 100644 index 00000000..08e1201f --- /dev/null +++ b/test/fixtures/_known_hosts_real/.ssh/config_question_mark @@ -0,0 +1 @@ +Host question_mark diff --git a/test/fixtures/_known_hosts_real/config b/test/fixtures/_known_hosts_real/config index 1231dd79..fe3fb54a 100644 --- a/test/fixtures/_known_hosts_real/config +++ b/test/fixtures/_known_hosts_real/config @@ -1,7 +1,7 @@ - UserKnownHostsFile fixtures/_known_hosts_real/known_hosts + UserKnownHostsFile _known_hosts_real/known_hosts # Unindented -Host gee jar +Host gee* jar?this-part-we-do-not-complete-at-least-yet HostName %h.example.com # Indented - Host hus # With comment + Host hus%%eth0 !negated #not-a-comment diff --git a/test/fixtures/_known_hosts_real/config_include b/test/fixtures/_known_hosts_real/config_include index fe6f537e..a1ae7633 100644 --- a/test/fixtures/_known_hosts_real/config_include +++ b/test/fixtures/_known_hosts_real/config_include @@ -3,3 +3,5 @@ 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 diff --git a/test/fixtures/_known_hosts_real/config_tilde b/test/fixtures/_known_hosts_real/config_tilde index 0893515b..4181aaf5 100644 --- a/test/fixtures/_known_hosts_real/config_tilde +++ b/test/fixtures/_known_hosts_real/config_tilde @@ -1,4 +1,4 @@ # With quotes and tilde -UserKnownHostsFile "~/fixtures/_known_hosts_real/known_hosts2" +UserKnownHostsFile "~/_known_hosts_real/known_hosts2" # Without quotes, with tilde, and another on the same line -UserKnownHostsFile ~/fixtures/_known_hosts_real/known_hosts3 fixtures/_known_hosts_real/known_hosts4 +UserKnownHostsFile ~/_known_hosts_real/known_hosts3 _known_hosts_real/known_hosts4 diff --git a/test/fixtures/_known_hosts_real/gee-filename-canary b/test/fixtures/_known_hosts_real/gee-filename-canary new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/test/fixtures/_known_hosts_real/gee-filename-canary diff --git a/test/fixtures/_known_hosts_real/localhost_config b/test/fixtures/_known_hosts_real/localhost_config index 1e751338..30b6623b 100644 --- a/test/fixtures/_known_hosts_real/localhost_config +++ b/test/fixtures/_known_hosts_real/localhost_config @@ -1 +1 @@ -UserKnownHostsFile fixtures/_known_hosts_real/localhost_hosts +UserKnownHostsFile _known_hosts_real/localhost_hosts diff --git a/test/fixtures/_known_hosts_real/spaced conf b/test/fixtures/_known_hosts_real/spaced conf index f484f0e3..566b92c2 100644 --- a/test/fixtures/_known_hosts_real/spaced conf +++ b/test/fixtures/_known_hosts_real/spaced conf @@ -1,9 +1,8 @@ # Unindented Host gee - UserKnownHostsFile "fixtures/_known_hosts_real/spaced known_hosts" + UserKnownHostsFile "_known_hosts_real/spaced known_hosts" # Indented - Host hus # With comment - UserKnownHostsFile "fixtures/_known_hosts_real/known_hosts2" - + Host hus #not-a-comment + UserKnownHostsFile "_known_hosts_real/known_hosts2" |