summaryrefslogtreecommitdiff
path: root/t/t3600-rm.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-23 13:00:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-23 21:25:12 (GMT)
commit9aebc4708ad21cc18f6d5c6909381abb0fe01023 (patch)
tree8bcc8c7d093146472229cb0d4debdaebb0be9f95 /t/t3600-rm.sh
parent796c248dc1eeaa99cf8074c30dec3ce7642f811e (diff)
downloadgit-9aebc4708ad21cc18f6d5c6909381abb0fe01023.zip
git-9aebc4708ad21cc18f6d5c6909381abb0fe01023.tar.gz
git-9aebc4708ad21cc18f6d5c6909381abb0fe01023.tar.bz2
upload-pack tests: avoid a non-zero "grep" exit status
Continue changing a test that 763b47bafa (t5703: stop losing return codes of git commands, 2019-11-27) already refactored. This was originally added as part of a series to add support for running under bash's "set -o pipefail", under that mode this test will fail because sometimes there's no commits in the "objs" output. It's easier to fix that than exempt these tests under a hypothetical "set -o pipefail" test mode. It looks like we probably won't have that, but once we've dug this code up let's refactor it[2] so we don't hide a potential pipe failure. 1. https://lore.kernel.org/git/xmqqzh18o8o6.fsf@gitster.c.googlers.com/ Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3600-rm.sh')
0 files changed, 0 insertions, 0 deletions