aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2007-10-22 07:49:39 +0200
committerJunio C Hamano <gitster@pobox.com>2007-10-26 23:27:24 -0700
commit37f9fd0dde454db08d342e5ce7625e012507bb9b (patch)
tree098a75fba7d20a2b44c4ff32ee04ac5fc3140241 /t
parentc39ce91827e6f8c9e2cbfb482f90fe6f58d4d573 (diff)
downloadgit-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')
-rwxr-xr-xt/t6030-bisect-porcelain.sh7
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
'