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