about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/cuddled-loop.expect
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/cuddled-loop.expect')
-rw-r--r--third_party/git/t/chainlint/cuddled-loop.expect5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/cuddled-loop.expect b/third_party/git/t/chainlint/cuddled-loop.expect
new file mode 100644
index 000000000000..8c0260d7f1d9
--- /dev/null
+++ b/third_party/git/t/chainlint/cuddled-loop.expect
@@ -0,0 +1,5 @@
+(
+ while read x
+  do foobar bop || exit 1
+>  done <file ) &&
+outside subshell