* [PATCH] Bisect: add a "bisect replay" test case.
@ 2007-10-16 4:33 Christian Couder
0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2007-10-16 4:33 UTC (permalink / raw)
To: Junio Hamano, Johannes Schindelin; +Cc: git
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
t/t6030-bisect-porcelain.sh | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
There is no bisect log/replay test case right now.
Let's add one.
diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh
index 7f41a46..49f3601 100755
--- a/t/t6030-bisect-porcelain.sh
+++ b/t/t6030-bisect-porcelain.sh
@@ -167,6 +167,13 @@ test_expect_success 'bisect dunno: add line and then a new test' '
git bisect dunno &&
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 dunno 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
'
--
1.5.3.3.136.g591d1-dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-16 4:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 4:33 [PATCH] Bisect: add a "bisect replay" test case Christian Couder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).