diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-01-13 21:46:16 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-01-13 21:46:16 +0700 |
commit | 3de4790370ec8ee485c3f723c3471116dd094019 (patch) | |
tree | e839e0fd9e7b1d879033dca0932e09c98dabb260 /test/data | |
parent | ae5ad1099d6e751354ca4b1ded35cf178639c29f (diff) | |
download | vyconf-3de4790370ec8ee485c3f723c3471116dd094019.tar.gz vyconf-3de4790370ec8ee485c3f723c3471116dd094019.zip |
T254: disallow node names with characters significant to the curly config parser
(whitespace, braces, square brackets, quotes, and hash).
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/interface_definition_sample.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/data/interface_definition_sample.xml b/test/data/interface_definition_sample.xml index c6185c0..292231e 100644 --- a/test/data/interface_definition_sample.xml +++ b/test/data/interface_definition_sample.xml @@ -60,4 +60,21 @@ </node> </children> </node> + <node name="interfaces"> + <children> + <tagNode name="ethernet"> + <properties> + <!-- no constraint, for testing if tag nodes with invalid characters in names + are detected --> + </properties> + <children> + <leafNode name="disable"> + <properties> + <valueless/> + </properties> + </leafNode> + </children> + </tagNode> + </children> + </node> </interfaceDefinition> |