summaryrefslogtreecommitdiff
path: root/t/chainlint/chain-break-continue.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/chain-break-continue.expect')
-rw-r--r--t/chainlint/chain-break-continue.expect12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/chainlint/chain-break-continue.expect b/t/chainlint/chain-break-continue.expect
new file mode 100644
index 0000000000..4bb60aae25
--- /dev/null
+++ b/t/chainlint/chain-break-continue.expect
@@ -0,0 +1,12 @@
+2 git ls-tree --name-only -r refs/notes/many_notes |
+3 while read path
+4 do
+5 test "$path" = "foobar/non-note.txt" && continue
+6 test "$path" = "deadbeef" && continue
+7 test "$path" = "de/adbeef" && continue
+8
+9 if test $(expr length "$path") -ne $hexsz
+10 then
+11 return 1
+12 fi
+13 done