summaryrefslogtreecommitdiffstats
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.expect14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/chainlint/subshell-one-liner.expect b/t/chainlint/subshell-one-liner.expect
new file mode 100644
index 0000000..b701536
--- /dev/null
+++ b/t/chainlint/subshell-one-liner.expect
@@ -0,0 +1,14 @@
+(
+ (foo && bar) &&
+ (foo && bar) |
+ (foo && bar) >baz &&
+ (foo; ?!AMP?! bar) &&
+ (foo; ?!AMP?! bar) |
+ (foo; ?!AMP?! bar) >baz &&
+ (foo || exit 1) &&
+ (foo || exit 1) |
+ (foo || exit 1) >baz &&
+ (foo && bar) ?!AMP?!
+ (foo && bar; ?!AMP?! baz) ?!AMP?!
+ foobar
+)