git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 3/3] t6030: test skipping away from an already skipped commit

From
Christian Couder <chriscool@tuxfamily.org>
Date
Jun 5, 2009, 04:10 UTC
Message-ID
<20090605041044.8885.1948.chriscool@tuxfamily.org>
In-Reply-To
<20090605040238.8885.92790.chriscool@tuxfamily.org>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 t/t6030-bisect-porcelain.sh |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh
index 5254b23..4556cdd 100755
--- a/t/t6030-bisect-porcelain.sh
+++ b/t/t6030-bisect-porcelain.sh
@@ -555,6 +555,18 @@ test_expect_success 'restricting bisection on one dir and a file' '
 	grep "$PARA_HASH4 is first bad commit" my_bisect_log.txt
 '
 
+test_expect_success 'skipping away from skipped commit' '
+	git bisect start $PARA_HASH7 $HASH1 &&
+	para4=$(git rev-parse --verify HEAD) &&
+	test "$para4" = "$PARA_HASH4" &&
+        git bisect skip &&
+	hash7=$(git rev-parse --verify HEAD) &&
+	test "$hash7" = "$HASH7" &&
+        git bisect skip &&
+	hash3=$(git rev-parse --verify HEAD) &&
+	test "$hash3" = "$HASH3"
+'
+
 #
 #
 test_done
-- 
1.6.3.GIT
Previous: Junio C Hamano
Message 9 of 9 in “automatically skip away from broken commits”
  1. 0/3 automatically skip away from broken commitsChristian Couder, Jun 5, 2009
  2. 1/3 bisect: add parameters to "filter_skipped"Christian Couder, Jun 5, 2009
  3. Junio C HamanoJun 5, 2009
  4. Christian CouderJun 6, 2009
  5. 2/3 bisect: when skipping, choose a commit away from a skipped commitChristian Couder, Jun 5, 2009
  6. Junio C HamanoJun 5, 2009
  7. Christian CouderJun 6, 2009
  8. Junio C HamanoJun 6, 2009
  9. 3/3 t6030: test skipping away from an already skipped commitChristian Couder, Jun 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.