X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3303-notes-subtrees.sh;h=704aee81ef5618048bba5209629a0dfde136fdb3;hb=657072f3ac5519f146a947253c9959909b38c293;hp=75ec18778e1be732593ae130aa257eca3290e36f;hpb=e22d62d9151e0e51c3dc4f951fb5d88dc30482c6;p=git.git diff --git a/t/t3303-notes-subtrees.sh b/t/t3303-notes-subtrees.sh index 75ec18778..704aee81e 100755 --- a/t/t3303-notes-subtrees.sh +++ b/t/t3303-notes-subtrees.sh @@ -168,15 +168,16 @@ INPUT_END } verify_concatenated_notes () { - git log | grep "^ " > output && - i=$number_of_commits && - while [ $i -gt 0 ]; do - echo " commit #$i" && - echo " first note for commit #$i" && - echo " second note for commit #$i" && - i=$(($i-1)); - done > expect && - test_cmp expect output + git log | grep "^ " > output && + i=$number_of_commits && + while [ $i -gt 0 ]; do + echo " commit #$i" && + echo " first note for commit #$i" && + echo " " && + echo " second note for commit #$i" && + i=$(($i-1)); + done > expect && + test_cmp expect output } test_expect_success 'test notes in no fanout concatenated with 2/38-fanout' 'test_concatenated_notes "s|^..|&/|" ""'