summaryrefslogtreecommitdiff
path: root/t/chainlint/subshell-one-liner.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/subshell-one-liner.expect')
-rw-r--r--t/chainlint/subshell-one-liner.expect19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/chainlint/subshell-one-liner.expect b/t/chainlint/subshell-one-liner.expect
new file mode 100644
index 0000000000..265d996a21
--- /dev/null
+++ b/t/chainlint/subshell-one-liner.expect
@@ -0,0 +1,19 @@
+2 (
+3 (foo && bar) &&
+4 (foo && bar) |
+5 (foo && bar) >baz &&
+6
+7 (foo; ?!LINT: missing '&&'?! bar) &&
+8 (foo; ?!LINT: missing '&&'?! bar) |
+9 (foo; ?!LINT: missing '&&'?! bar) >baz &&
+10
+11 (foo || exit 1) &&
+12 (foo || exit 1) |
+13 (foo || exit 1) >baz &&
+14
+15 (foo && bar) ?!LINT: missing '&&'?!
+16
+17 (foo && bar; ?!LINT: missing '&&'?! baz) ?!LINT: missing '&&'?!
+18
+19 foobar
+20 )