summaryrefslogtreecommitdiff
path: root/runcmd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'runcmd.yaml')
-rw-r--r--runcmd.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/runcmd.yaml b/runcmd.yaml
new file mode 100644
index 0000000..02e5ee1
--- /dev/null
+++ b/runcmd.yaml
@@ -0,0 +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