зеркало из https://github.com/microsoft/git.git
Bisect: add a "bisect replay" test case.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
c39ce91827
Коммит
37f9fd0dde
|
@ -167,6 +167,13 @@ test_expect_success 'bisect skip: add line and then a new test' '
|
||||||
git bisect skip &&
|
git bisect skip &&
|
||||||
git bisect good > my_bisect_log.txt &&
|
git bisect good > my_bisect_log.txt &&
|
||||||
grep "$HASH5 is first bad commit" my_bisect_log.txt &&
|
grep "$HASH5 is first bad commit" my_bisect_log.txt &&
|
||||||
|
git bisect log > log_to_replay.txt
|
||||||
|
git bisect reset
|
||||||
|
'
|
||||||
|
|
||||||
|
test_expect_success 'bisect skip and bisect replay' '
|
||||||
|
git bisect replay log_to_replay.txt > my_bisect_log.txt &&
|
||||||
|
grep "$HASH5 is first bad commit" my_bisect_log.txt &&
|
||||||
git bisect reset
|
git bisect reset
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче