diff options
Diffstat (limited to '')
-rw-r--r-- | t/chainlint/exit-subshell.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/chainlint/exit-subshell.test b/t/chainlint/exit-subshell.test new file mode 100644 index 0000000..4e6ab69 --- /dev/null +++ b/t/chainlint/exit-subshell.test @@ -0,0 +1,6 @@ +( +# LINT: "|| exit {n}" valid subshell escape without hurting &&-chain + foo || exit 1 + bar && + baz +) |