summaryrefslogtreecommitdiffstats
path: root/src/test/yaml/pathgentest/grouptwo.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/yaml/pathgentest/grouptwo.yaml')
-rw-r--r--src/test/yaml/pathgentest/grouptwo.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/test/yaml/pathgentest/grouptwo.yaml b/src/test/yaml/pathgentest/grouptwo.yaml
new file mode 100644
index 0000000..911211e
--- /dev/null
+++ b/src/test/yaml/pathgentest/grouptwo.yaml
@@ -0,0 +1,30 @@
+# Validate paths are not duplicated when
+# they exist in multiple groups, and
+# validate the same name can be used
+# in different config files.
+
+- name: test path group
+ class: group
+ group: path
+ members:
+ - meta: path1
+ path: /xyz/openbmc_project/testing/inst1
+ - meta: path1
+ path: /xyz/openbmc_project/testing/inst2
+ - meta: path1
+ path: /xyz/openbmc_project/testing/inst5
+ - meta: path1
+ path: /xyz/openbmc_project/testing/inst6
+
+- name: test path group 2
+ class: group
+ group: path
+ members:
+ - meta: path2
+ path: /xyz/openbmc_project/testing/inst4
+ - meta: path2
+ path: /xyz/openbmc_project/testing/inst3
+ - meta: path2
+ path: /xyz/openbmc_project/testing/inst2
+ - meta: path2
+ path: /xyz/openbmc_project/testing/inst1
OpenPOWER on IntegriCloud