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:
teor 2019-09-23 12:29:25 +10:00
parent 876b3e2775
commit 83fa962c1a
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
4 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,2 @@
Nickname test31408
ORPort 31408

View File

@ -0,0 +1 @@
Nickname test31408

View File

@ -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.

View File

@ -0,0 +1,2 @@
%include "included"
ORPort 31408