diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2007-10-22 07:49:39 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-26 23:27:24 -0700 |
commit | 37f9fd0dde454db08d342e5ce7625e012507bb9b (patch) | |
tree | 098a75fba7d20a2b44c4ff32ee04ac5fc3140241 /t/t6030-bisect-porcelain.sh | |
parent | c39ce91827e6f8c9e2cbfb482f90fe6f58d4d573 (diff) | |
download | git-37f9fd0dde454db08d342e5ce7625e012507bb9b.tar.gz git-37f9fd0dde454db08d342e5ce7625e012507bb9b.tar.xz |
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>
Diffstat (limited to 't/t6030-bisect-porcelain.sh')
-rwxr-xr-x | t/t6030-bisect-porcelain.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 ' |