mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
test: a file with no config options, at the end of an %include directory
(The file must contain whitespace or comments to trigger the bug.) Regression test for 31408.
This commit is contained in:
parent
876b3e2775
commit
83fa962c1a
2
src/test/conf_examples/include_bug_31408/expected
Normal file
2
src/test/conf_examples/include_bug_31408/expected
Normal file
@ -0,0 +1,2 @@
|
||||
Nickname test31408
|
||||
ORPort 31408
|
@ -0,0 +1 @@
|
||||
Nickname test31408
|
@ -0,0 +1,3 @@
|
||||
# Bug 31048 is triggered when the last file in a config directory:
|
||||
# * contains no configuration options,
|
||||
# * but is non-empty: that is, it contains comments or whitespace.
|
2
src/test/conf_examples/include_bug_31408/torrc
Normal file
2
src/test/conf_examples/include_bug_31408/torrc
Normal file
@ -0,0 +1,2 @@
|
||||
%include "included"
|
||||
ORPort 31408
|
Loading…
Reference in New Issue
Block a user