]> git.ipfire.org Git - thirdparty/git.git/commit
bisect tests: test for v2.30.0 "bisect run" regressions
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 10 Nov 2022 16:36:36 +0000 (23:36 +0700)
committerTaylor Blau <me@ttaylorr.com>
Fri, 11 Nov 2022 22:05:48 +0000 (17:05 -0500)
commit982fecf7c195d47c50cd397db303d262d2af88f6
treec74e2d8df1bbe68627b978f8a7932e1aeb6ad407
parent2445d34fb9e426c9b4e55ffffa6a32f536b7ff05
bisect tests: test for v2.30.0 "bisect run" regressions

Add three failing tests which succeed on v2.29.0, but due to the topic
merged at [1] (specifically [2]) have been failing since then. We'll
address those regressions in subsequent commits.

There was also a "regression" where:

git bisect run ./missing-script.sh

Would count a non-existing script as "good", as the shell would exit
with 127. That edge case is a bit too insane to preserve, so let's not
add it to these regression tests.

There was another regression that 'git bisect' consumed some options
that was meant to passed down to program run with 'git bisect run'.
Since that regression is breaking user's expectation, it has been fixed
earlier without this patch queued.

1. 0a4cb1f1f2f (Merge branch 'mr/bisect-in-c-4', 2021-09-23)
2. d1bbbe45df8 (bisect--helper: reimplement `bisect_run` shell
   function in C, 2021-09-13)

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t6030-bisect-porcelain.sh