t: detect errors outside of test cases

Hi,

this is a follow-up to the recent discussion we had around set -e to make our tests more robust and basically supersedes Junio's 1.

I've tested the patches with both Bash and Dash, and all tests are passing on my machine with either of them. CI seems to be happy, as well. But I would expect that this change probably has some fallout, even though I hope that it's generally going to be small and contained.

Thanks!

Patrick

To: git@vger.kernel.org Cc: Junio C Hamano gitster@pobox.com

--- b4-submit-tracking ---

This section is used internally by b4 prep for tracking purposes.

{ "series": { "revision": 1, "change-id": "20260410-b4-pks-tests-with-set-e-3ae479b24b51", "prefixes": [], "presubject": "" } }

Merge request reports

Loading