diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-04-21 09:34:18 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-22 15:53:36 -0700 |
| commit | 0c6600cdc751e8c018e6baddc0edce070c7c3f55 (patch) | |
| tree | 4a00e7e297c8781f922a2ab9fda2080a1e6ef059 /t/t4013/diff.format-patch_--inline_--stdout_initial..master^ | |
| parent | 9c64add20b09cc47c191c2bc7b2503b02d290385 (diff) | |
| download | git-0c6600cdc751e8c018e6baddc0edce070c7c3f55.tar.gz git-0c6600cdc751e8c018e6baddc0edce070c7c3f55.zip | |
t: prepare conditional test execution for `set -e`
We have some test in our test suite where we use the pattern of
`test ... && test_expect_succeess` to conditionally execute a test. The
problem is that when we decide to not execute the test, we'll indeed
skip the test, but the overall statement will also be unsuccessful. This
will become a problem once we enable `set -e`.
Prepare for this future by turning this into a proper conditional, which
is also a bit easier to read overall.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions
