summaryrefslogtreecommitdiff
path: root/t/chainlint/chain-break-false.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/chain-break-false.test')
-rw-r--r--t/chainlint/chain-break-false.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/chainlint/chain-break-false.test b/t/chainlint/chain-break-false.test
new file mode 100644
index 0000000000..f78ad911fc
--- /dev/null
+++ b/t/chainlint/chain-break-false.test
@@ -0,0 +1,12 @@
+test_expect_success 'chain-break-false' '
+# 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
+'