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

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

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 11, 2007, 03:22 UTC
Message-ID
<alpine.LFD.0.999.0707102020020.3412@woody.linux-foundation.org>
In-Reply-To
<Pine.LNX.4.64.0707110347580.4047@racer.site>
On Wed, 11 Jul 2007, Johannes Schindelin wrote:
> 
> Actually, Ubuntu seems to ship with dash as the default shell, and we had 
> quite some fallout from that change.

Well, part of it was really dash bugs, no? The whole "'shift' on an empty argument list" seemed to be a total and outright dash bug, and wasn't about relying on bash "features".

But we've had tons of issues with different spacing for "wc -l" etc, so yeah, the silly details matter even when there aren't outright bugs in tools.

Show 6 quoted lines
> As for GNU tar, I think that this is easily fixable if you have access to 
> non-GNU tar.  We do not use tar _ever_, except for the test suite, to 
> verify that things are working as expected.
> 
> If you could put in some time to make the tests work, that would be 
> awesome.

Yeah, it would be a good thing to get rid of any bashisms, but to _keep_ it working somebody would then need to test every once in a while that it still works ;)

		Linus
Previous: Johannes SchindelinNext: David Frech
Message 3 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.