summaryrefslogtreecommitdiff
path: root/tests/data/config.right
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-29 21:12:22 +0200
committerGitHub <noreply@github.com>2023-03-29 21:12:22 +0200
commit623dfc9d87d513bd69e5e6eef9664056dc1a45f1 (patch)
tree912adf40656c8419c4833983f6a7da636d6c2d42 /tests/data/config.right
parentdb0fc992c0f1e3f1ab6f099b07b933bfca07d520 (diff)
parentdccc689e0e666787834f45e6ab6bd972fddabf95 (diff)
downloadvyos-1x-623dfc9d87d513bd69e5e6eef9664056dc1a45f1.tar.gz
vyos-1x-623dfc9d87d513bd69e5e6eef9664056dc1a45f1.zip
Merge pull request #1900 from jestabro/diff-test
configdiff: T5089: add unit test of config_diff
Diffstat (limited to 'tests/data/config.right')
-rw-r--r--tests/data/config.right25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/data/config.right b/tests/data/config.right
new file mode 100644
index 000000000..48defeb89
--- /dev/null
+++ b/tests/data/config.right
@@ -0,0 +1,25 @@
+node1 {
+ tag_node baz {
+ other_node {
+ multi_node 'some_val'
+ multe_node 'other_val'
+ }
+ }
+ tag_node foo {
+ valueless
+ multi_node 'v3'
+ multi_node 'v1'
+ single 'right_val'
+ }
+ tag_node other {
+ leaf 'leaf_r'
+ }
+}
+
+node2 {
+ sub_node {
+ tag_node other {
+ multi 'mv'
+ }
+ }
+}