about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/subshell-one-liner.expect
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/subshell-one-liner.expect')
-rw-r--r--third_party/git/t/chainlint/subshell-one-liner.expect14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/subshell-one-liner.expect b/third_party/git/t/chainlint/subshell-one-liner.expect
new file mode 100644
index 000000000000..51162821d7e1
--- /dev/null
+++ b/third_party/git/t/chainlint/subshell-one-liner.expect
@@ -0,0 +1,14 @@
+(
+	(foo && bar) &&
+	(foo && bar) |
+	(foo && bar) >baz &&
+?!SEMI?!	(foo; bar) &&
+?!SEMI?!	(foo; bar) |
+?!SEMI?!	(foo; bar) >baz &&
+	(foo || exit 1) &&
+	(foo || exit 1) |
+	(foo || exit 1) >baz &&
+?!AMP?!	(foo && bar)
+?!AMP?!?!SEMI?!	(foo && bar; baz)
+	foobar
+>)