Skip to content

Commit

Permalink
test(_comp_compgen_known_hosts): prohibit including files in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Dec 30, 2024
1 parent 8c4445c commit 7aa420a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/fixtures/_known_hosts/.ssh/inside_comment
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Host this_file_should_not_be_included
2 changes: 1 addition & 1 deletion test/fixtures/_known_hosts/config_include
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Include config_asterisk* config_?uestion_mark
# Include a directory name. This is a misconfiguration, but ssh ignores it without errors.
Include ../../_known_hosts
# Include with extra comment
Include config_comment # this should be ignored
Include config_comment # inside_comment this should be ignored

0 comments on commit 7aa420a

Please sign in to comment.