summaryrefslogtreecommitdiff
path: root/runcmd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'runcmd.yaml')
-rw-r--r--runcmd.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/runcmd.yaml b/runcmd.yaml
index fe51488..02e5ee1 100644
--- a/runcmd.yaml
+++ b/runcmd.yaml
@@ -1 +1,13 @@
-[]
+- then: exit code is non-zero
+ function: exit_code_nonzero
+
+- then: output matches /(?P<pattern>.+)/
+ function: stdout_contains
+ regex: true
+
+- then: stderr matches /(?P<pattern>.+)/
+ function: stderr_contains
+ regex: true
+
+- then: program finished successfully
+ function: exit_code_zero