Add test to dump the systemd journal
[src/qa-testdefinitions.git] / test-suites / short-smoke / dumpjournal.yaml
diff --git a/test-suites/short-smoke/dumpjournal.yaml b/test-suites/short-smoke/dumpjournal.yaml
new file mode 100644 (file)
index 0000000..109c1d8
--- /dev/null
@@ -0,0 +1,21 @@
+metadata:
+    name: dumpjournal
+    format: "Lava-Test-Shell Test Definition 1.0"
+    description: "Dump the systemd journal"
+    maintainer:
+        - jsmoeller@linuxfoundation.org
+    os:
+        - openembedded
+    scope:
+        - functional
+
+run:
+    steps:
+        - "cd common/scripts"
+        - "./dumpjournal.sh"
+
+parse:
+    pattern: "^(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
+    fixupdict:
+        PASS: pass
+        FAIL: fail