summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-27 12:34:59 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-28 10:24:14 +0300
commitcbd610b46aa5ade39253360e5ee4db06020de87b (patch)
tree53b2ee9df27da7fc42eea751dab23962971884d5 /subplot.yaml
parent6a19cfed49ecd556d24674811fd9e95793f7e262 (diff)
downloadsubplot-cbd610b46aa5ade39253360e5ee4db06020de87b.tar.gz
refactor(subplot.{md,yaml}): rename step step to check for failure
The old step "then exit code is non-zero" comes originally from runcmd.yaml. For lib/runcmd.yaml it has been replaced with "then command fails". Change all uses of the old wording to the new one. Don't use lib/runcmd.yaml yet, but keep the binding subplot.yaml to bind the new wording to the function from lib/runcmd.py (which it did before already, so no change).
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplot.yaml b/subplot.yaml
index 9131a02..ed696e6 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -74,7 +74,7 @@
- then: program finished successfully
function: runcmd_exit_code_is_zero
-- then: exit code is non-zero
+- then: command fails
function: runcmd_exit_code_is_nonzero
- then: output matches /(?P<text>.+)/