summaryrefslogtreecommitdiffstats
path: root/test-suites
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-10-01 13:05:39 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2018-10-01 13:15:13 +0200
commita30c5cbe2cd374d529bf92f3f79ce4ffb4db3c42 (patch)
treeea89b1bf4562207695c5e8f61c60d8b5a7898796 /test-suites
parent4edd33ac101a90351f78d758ec63788896c58ace (diff)
Add test to dump the systemd journal
Change-Id: I2ad02f6828e165a898fb4a739ab3c893267d4c53 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'test-suites')
-rw-r--r--test-suites/short-smoke/dumpjournal.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/test-suites/short-smoke/dumpjournal.yaml b/test-suites/short-smoke/dumpjournal.yaml
new file mode 100644
index 0000000..109c1d8
--- /dev/null
+++ b/test-suites/short-smoke/dumpjournal.yaml
@@ -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