summaryrefslogtreecommitdiffstats
path: root/src/test/yaml/pathgentest/groupone.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/yaml/pathgentest/groupone.yaml')
-rw-r--r--src/test/yaml/pathgentest/groupone.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/yaml/pathgentest/groupone.yaml b/src/test/yaml/pathgentest/groupone.yaml
new file mode 100644
index 0000000..a4d5b57
--- /dev/null
+++ b/src/test/yaml/pathgentest/groupone.yaml
@@ -0,0 +1,28 @@
+# Validate paths are not duplicated when
+# they exist in multiple groups.
+
+- 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/inst3
+ - meta: path1
+ path: /xyz/openbmc_project/testing/inst4
+
+- name: test path group 2
+ class: group
+ group: path
+ members:
+ - meta: path3
+ path: /xyz/openbmc_project/testing/inst1
+ - meta: path3
+ path: /xyz/openbmc_project/testing/inst2
+ - meta: path3
+ path: /xyz/openbmc_project/testing/inst3
+ - meta: path3
+ path: /xyz/openbmc_project/testing/inst4
OpenPOWER on IntegriCloud