Skip to content

Commit 7aa420a

Browse files
committed
test(_comp_compgen_known_hosts): prohibit including files in comments
1 parent 8c4445c commit 7aa420a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Host this_file_should_not_be_included

test/fixtures/_known_hosts/config_include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Include config_asterisk* config_?uestion_mark
88
# Include a directory name. This is a misconfiguration, but ssh ignores it without errors.
99
Include ../../_known_hosts
1010
# Include with extra comment
11-
Include config_comment # this should be ignored
11+
Include config_comment # inside_comment this should be ignored

0 commit comments

Comments
 (0)