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

Re: make test Unexpected passes

From
Ben Woosley <ben.woosley@gmail.com>
Date
Apr 22, 2016, 23:16 UTC
Message-ID
<loom.20160423T011428-888@post.gmane.org>
In-Reply-To
<571A8404.5030200@ramsayjones.plus.com>
Ramsay Jones <ramsay <at> ramsayjones.plus.com> writes:
Show 11 quoted lines
> 
> Hi Ben, Junio,
> 
> Tonight, the testsuite passed with a couple of 'unexpected passes', viz:
>
> In the first case, t3421-*.sh, git bisect fingered commit f32ec670
> ("git-rebase--merge: don't include absent parent as a base", 20-04-2016).
>
> ATB,
> Ramsay Jones
> 
 
Yep,
These know breakages:

ok 50 - rebase -m --onto --root ok 54 - rebase -m without --onto --root with disjoint history

Have to do with rebasing a root/orphan branch with the -m flag, which defaults to -- merge=recursive, which is the case the patch fixed.

Here are the necessary changes:
--- a/t/t3421-rebase-topology-linear.sh
+++ b/t/t3421-rebase-topology-linear.sh
@@ -253,7 +253,7 @@ test_run_rebase () {
 	"
 }
 test_run_rebase success ''
-test_run_rebase failure -m
+test_run_rebase success -m
 test_run_rebase success -i
 test_run_rebase success -p
 
@@ -268,7 +268,7 @@ test_run_rebase () {
 	"
 }
 test_run_rebase success ''
-test_run_rebase failure -m
+test_run_rebase success -m
 test_run_rebase success -i
 test_run_rebase failure -p
 
-- 
2.8.1.211.g8e54d77
Previous: Elijah NewrenNext: Junio C Hamano
Message 5 of 6 in “make test Unexpected passes”
  1. Ramsay JonesApr 22, 2016
  2. Elijah NewrenApr 22, 2016
  3. Junio C HamanoApr 27, 2016
  4. Elijah NewrenApr 27, 2016
  5. Ben WoosleyApr 22, 2016
  6. Junio C HamanoApr 24, 2016

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.