summaryrefslogtreecommitdiff
path: root/t/chainlint/exit-subshell.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/exit-subshell.test')
-rw-r--r--t/chainlint/exit-subshell.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/chainlint/exit-subshell.test b/t/chainlint/exit-subshell.test
index 4e6ab69b88..05dff55cd7 100644
--- a/t/chainlint/exit-subshell.test
+++ b/t/chainlint/exit-subshell.test
@@ -1,6 +1,8 @@
+test_expect_success 'exit-subshell' '
(
# LINT: "|| exit {n}" valid subshell escape without hurting &&-chain
foo || exit 1
bar &&
baz
)
+'