summaryrefslogtreecommitdiffstats
path: root/src/test/yaml/interfaceaddtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/yaml/interfaceaddtest')
-rw-r--r--src/test/yaml/interfaceaddtest/one.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/test/yaml/interfaceaddtest/one.yaml b/src/test/yaml/interfaceaddtest/one.yaml
new file mode 100644
index 0000000..f84389e
--- /dev/null
+++ b/src/test/yaml/interfaceaddtest/one.yaml
@@ -0,0 +1,22 @@
+# Validate number of watches created for the object path
+#
+# Expecting one watch created for the object path
+- name: errorlog path group
+ class: group
+ group: path
+ members:
+ - meta: PATH
+ path: /xyz/openbmc_project/testing/inst1
+
+- name: pathwatch errorlog
+ description: >
+ class: pathwatch
+ pathwatch: path
+ paths: errorlog path group
+ pathcallback: create errorlog event
+
+- name: create errorlog event
+ class: pathcallback
+ pathcallback: eventpath
+ paths: errorlog path group
+ eventType: ErrorNotification
OpenPOWER on IntegriCloud