From: Christian Couder Date: Mon, 22 Oct 2007 05:49:39 +0000 (+0200) Subject: Bisect: add a "bisect replay" test case. X-Git-Tag: v1.5.4-rc0~299^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=37f9fd0dde454db08d342e5ce7625e012507bb9b;p=git.git Bisect: add a "bisect replay" test case. Signed-off-by: Christian Couder Signed-off-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh index db82259af..16d0c4a90 100755 --- a/t/t6030-bisect-porcelain.sh +++ b/t/t6030-bisect-porcelain.sh @@ -167,6 +167,13 @@ test_expect_success 'bisect skip: add line and then a new test' ' git bisect skip && git bisect good > 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 '