summaryrefslogtreecommitdiffstats
path: root/t/chainlint/chain-break-false.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/chain-break-false.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/chainlint/chain-break-false.test b/t/chainlint/chain-break-false.test
new file mode 100644
index 0000000..a5aaff8
--- /dev/null
+++ b/t/chainlint/chain-break-false.test
@@ -0,0 +1,10 @@
+# LINT: broken &&-chain okay if explicit "false" signals failure
+if condition not satisified
+then
+ echo it did not work...
+ echo failed!
+ false
+else
+ echo it went okay
+ congratulate user
+fi