diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-10-01 13:05:39 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-10-01 13:15:13 +0200 |
commit | a30c5cbe2cd374d529bf92f3f79ce4ffb4db3c42 (patch) | |
tree | ea89b1bf4562207695c5e8f61c60d8b5a7898796 /test-suites | |
parent | 4edd33ac101a90351f78d758ec63788896c58ace (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.yaml | 21 |
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 |