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

Re: non-fast-forward advice breaks tests on OS X

From
Christopher Tiwald <christiwald@gmail.com>
Date
Apr 12, 2012, 14:00 UTC
Message-ID
<20120412140049.GB367@gmail.com>
In-Reply-To
<20120412133701.GA367@gmail.com>
On Thu, Apr 12, 2012 at 09:37:01AM -0400, Christopher Tiwald wrote:
Show 8 quoted lines
> On Thu, Apr 12, 2012 at 01:49:14AM -0400, Brian Gernhardt wrote:
> > After a break in regularly compiling git on my Mac 10.7.3 laptop, I had a few tests fail:  t5540.15, t5541.{12,15}.  All of these tests use test_i18ngrep to test the output of git-push for the string "To prevent you from losing history, non-fast-forward updates were rejected".
> > 
> > Bisecting traced it back to f25950f: "push: Provide situational hints for non-fast-forward errors".
> 
> I also run 10.7.3 on a MacBook Pro. I will investigate this now and see
> if I can get tests to break. I know the original patch passed the test
> suite on this machine.

Ah ha, I wasn't running the proper tests. I'll send a patch to the affected ones later today.

*** t5540-http-push.sh *** # passed all 0 test(s) 1..0 # SKIP Network testing disabled (define GIT_TEST_HTTPD to enable) *** t5541-http-push.sh *** # passed all 0 test(s) 1..0 # SKIP Network testing disabled (define GIT_TEST_HTTPD to enable) *** t5550-http-fetch.sh *** # passed all 0 test(s) 1..0 # SKIP Network testing disabled (define GIT_TEST_HTTPD to enable) *** t5551-http-fetch.sh *** # passed all 0 test(s) 1..0 # SKIP Network testing disabled (define GIT_TEST_HTTPD to enable)

Previous: Christopher TiwaldNext: Junio C Hamano
Message 3 of 6 in “non-fast-forward advice breaks tests on OS X”
  1. Brian GernhardtApr 12, 2012
  2. Christopher TiwaldApr 12, 2012
  3. Christopher TiwaldApr 12, 2012
  4. Junio C HamanoApr 12, 2012
  5. Fix httpd tests that broke when non-ff push advice changedChristopher Tiwald, Apr 12, 2012
  6. Junio C HamanoApr 12, 2012

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.