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

Re: test suite fails if sh != bash || tar != GNU tar

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 11, 2007, 21:56 UTC
Message-ID
<Pine.LNX.4.64.0707112240120.4516@racer.site>
In-Reply-To
<7154c5c60707111433r64ae5109o314778655cbc017e@mail.gmail.com>
Hi,
On Wed, 11 Jul 2007, David Frech wrote:
Show 18 quoted lines
> On 7/11/07, Junio C Hamano <gitster@pobox.com> wrote:
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> > 
> > >> I'll see what I can do. As I'm planning on running git on both 
> > >> FreeBSD and DragonFly for the forseeable future, and plan to track 
> > >> git's evolution (running stable releases if not more bleeding-edge 
> > >> code), I can run the test suite every time I build a new git.
> > >
> > > If you want to, I can help you setting up a nightly cron job to 
> > > fetch what is the current "next", run the tests, and report failures 
> > > by email.
> > 
> > Wow.  Nightly builds of 'next' on various platforms would actually be 
> > quite useful, especially from non Linux and non bash world.
> 
> I found and fixed the shell issues. Once I've got a "fix" for tar I'll 
> send a patch. I think the BSD sh has a bug wrt to negating the return 
> code from a pipeline.

Cool! Please be sure to give Documentation/SubmittingPatches a quick glance before sending, to avoid hassles for the reviewers.

Show 7 quoted lines
> I'd be happy to do a nightly build on my DragonFly box, and that should 
> catch anything that also doesn't work for FreeBSD. The failure modes 
> were exactly the same - though the DFly box has an additional 
> iconv-related problem (with git-mailinfo) that I still haven't tracked 
> down...
> 
> Is there a canned script to get me started?
Well, I would have started from scratch, as in
5 0 * * *       (cd /xx/git && sh test-it.sh)
And in test-it.sh there could be something like
	(git pull origin next && make test > test-it.out 2>&1 ) || 
	some-script-that-sends-the-email.sh
> One issue is that my server is on dynamic IP, and my lame ISP (the local 
> telco) doesn't give me a proper SMTP relay - they want us to send our 
> mail via HTTP to MSN! Completely lame.
It is lame.
> So sending mail can be an issue, if the receiver blocks mail from 
> dynamic IPs.

But maybe you can just upload the status somewhere public? Or ssh into a machine which allows you to send an email, with public key authentication?

Ciao, Dscho

Previous: David Frech
Message 10 of 10 in “test suite fails if sh != bash || tar != GNU tar”
  1. David FrechJul 11, 2007
  2. Johannes SchindelinJul 11, 2007
  3. Linus TorvaldsJul 11, 2007
  4. David FrechJul 11, 2007
  5. Johannes SchindelinJul 11, 2007
  6. Junio C HamanoJul 11, 2007
  7. David FrechJul 11, 2007
  8. Junio C HamanoJul 11, 2007
  9. David FrechJul 11, 2007
  10. Johannes SchindelinJul 11, 2007

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.