Git fork
at reftables-rust 15 lines 368 B view raw
1test_expect_success 'chain-break-continue' ' 2git ls-tree --name-only -r refs/notes/many_notes | 3while read path 4do 5# LINT: broken &&-chain okay if explicit "continue" 6 test "$path" = "foobar/non-note.txt" && continue 7 test "$path" = "deadbeef" && continue 8 test "$path" = "de/adbeef" && continue 9 10 if test $(expr length "$path") -ne $hexsz 11 then 12 return 1 13 fi 14done 15'