diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-13 16:53:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-14 19:00:41 -0400 |
commit | 80e858e3e63aa4141415cb177551893fb91b75df (patch) | |
tree | dcbd0ef8a28b60da2eb20bfa8cf5d5a2e9bb6702 /src/test/conf_examples | |
parent | 28025698a15e19f0336b48d057177382a5a30b35 (diff) | |
download | tor-80e858e3e63aa4141415cb177551893fb91b75df.tar.gz tor-80e858e3e63aa4141415cb177551893fb91b75df.zip |
Add an integration test for %include.
Diffstat (limited to 'src/test/conf_examples')
-rw-r--r-- | src/test/conf_examples/include_1/expected | 3 | ||||
-rw-r--r-- | src/test/conf_examples/include_1/included.inc | 4 | ||||
-rw-r--r-- | src/test/conf_examples/include_1/nested.inc | 2 | ||||
-rw-r--r-- | src/test/conf_examples/include_1/torrc | 4 |
4 files changed, 13 insertions, 0 deletions
diff --git a/src/test/conf_examples/include_1/expected b/src/test/conf_examples/include_1/expected new file mode 100644 index 0000000000..4bbf52ce9f --- /dev/null +++ b/src/test/conf_examples/include_1/expected @@ -0,0 +1,3 @@ +ContactInfo includefile@example.com +Nickname nested +ORPort 8008 diff --git a/src/test/conf_examples/include_1/included.inc b/src/test/conf_examples/include_1/included.inc new file mode 100644 index 0000000000..8d1834345d --- /dev/null +++ b/src/test/conf_examples/include_1/included.inc @@ -0,0 +1,4 @@ + +ContactInfo includefile@example.com + +%include "nested.inc"
\ No newline at end of file diff --git a/src/test/conf_examples/include_1/nested.inc b/src/test/conf_examples/include_1/nested.inc new file mode 100644 index 0000000000..789b044a2b --- /dev/null +++ b/src/test/conf_examples/include_1/nested.inc @@ -0,0 +1,2 @@ + +Nickname nested
\ No newline at end of file diff --git a/src/test/conf_examples/include_1/torrc b/src/test/conf_examples/include_1/torrc new file mode 100644 index 0000000000..2ed4074f6e --- /dev/null +++ b/src/test/conf_examples/include_1/torrc @@ -0,0 +1,4 @@ + +%include "included.inc" + +ORPort 8008 |