summaryrefslogtreecommitdiff
path: root/lava-test-shell/fedora/echo-pass-fail-error-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'lava-test-shell/fedora/echo-pass-fail-error-test.yaml')
-rw-r--r--lava-test-shell/fedora/echo-pass-fail-error-test.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/lava-test-shell/fedora/echo-pass-fail-error-test.yaml b/lava-test-shell/fedora/echo-pass-fail-error-test.yaml
new file mode 100644
index 0000000..4fab0fb
--- /dev/null
+++ b/lava-test-shell/fedora/echo-pass-fail-error-test.yaml
@@ -0,0 +1,23 @@
+metadata:
+ name: fail-pass-error
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Pass / Fail / Error test."
+ maintainer:
+ - senthil.kumaran@linaro.org
+ os:
+ - fedora
+ devices:
+ - lxc
+ scope:
+ - functional
+
+run:
+ steps:
+ - ./lava-test-shell/fedora/scripts/echo-pass-fail-error.sh
+
+parse:
+ pattern: "(?P<test_case_id>.*)\\s+(?P<result>PASS|FAIL|ERROR)\\s+"
+ fixupdict:
+ ERROR: fail
+ FAIL: fail
+ PASS: pass