tests: don't swallow Git errors upstream of pipes
commit61de0ff695cf632f1a17fc0ebd4401bde2f7fa8f
authorMatthew DeVore <matvore@google.com>
Fri, 5 Oct 2018 21:54:05 +0000 (5 14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Oct 2018 23:51:18 +0000 (7 08:51 +0900)
tree78f14ce297ced493f0057e9a3730b47ee1345f58
parentdcbaa0b361f5bebcbe6eca446819fadd02083461
tests: don't swallow Git errors upstream of pipes

Some pipes in tests lose the exit code of git processes, which can mask
unexpected behavior like crashes. Split these pipes up so that git
commands are only at the end of pipes rather than the beginning or
middle.

The violations fixed in this patch were found in the process of fixing
pipe placement in a prior patch.

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5317-pack-objects-filter-objects.sh
t/t5616-partial-clone.sh
t/t6112-rev-list-filters-objects.sh