summaryrefslogtreecommitdiff
path: root/runcmd.yaml
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-09-12 16:16:32 +0000
committerDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-09-12 16:16:32 +0000
commit9243b189a1a12bc0ed819d59cd3cbe9ce5d37c2a (patch)
tree1f3a846448a2fcb943e805c58ac371ee0ea59bb7 /runcmd.yaml
parentbddb592c4cb89e76796b17dd5bed823eba7e2b0e (diff)
parentd4e8b0409d6bc99522a6a995349e9779b9c9cd62 (diff)
downloadjt2-9243b189a1a12bc0ed819d59cd3cbe9ce5d37c2a.tar.gz
Merge branch 'init' into 'master'
feat: create and initialise a new journal Closes #1 See merge request larswirzenius/jt!2
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