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

Re: [PATCH 0/3] solaris test results

From
Jeff King <peff@peff.net>
Date
Feb 21, 2008, 00:41 UTC
Message-ID
<20080221004146.GA6682@coredump.intra.peff.net>
In-Reply-To
<7vk5kz171q.fsf@gitster.siamese.dyndns.org>
On Wed, Feb 20, 2008 at 04:34:25PM -0800, Junio C Hamano wrote:
Show 9 quoted lines
> >   - Sun's diff doesn't understand "-u". I was able to use GNU diff.
> >     Since comparing actual and expected output is so common, we could
> >     potentially abstract this with a "test_cmp()" function and use
> >     something platform specific. It's probably not worth the trouble, as
> >     it impacts only the test suite, and only on systems with a totally
> >     broken diff.
> 
> It is unfair to call diff without -u "totally broken".  It is
> not even in POSIX yet IIRC.

Fair enough (and you are right that it is not even POSIX). Is it something we want to work around? We "diff -u" quite a bit in the test suite.

Show 6 quoted lines
> >   - t7505 uses a hook which hard-codes /bin/sh but uses syntax that
> >     the Solaris /bin/sh doesn't like. Maybe hooks should get their
> >     $SHELL value replaced?
> 
> You've already did that in your [PATCH 2/3], haven't you?  So
> why not?

Because I didn't look very closely, and I assumed it was one of the regular hooks. But yes, it is defined in the script and could get the same treatment.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 25 of 28 in “solaris test results”
  1. 0/3 solaris test resultsJeff King, Feb 20, 2008
  2. 1/3 git_config_*: don't assume we are parsing a config fileJeff King, Feb 21, 2008
  3. 2/3 t3404: use configured shell instead of /bin/shJeff King, Feb 21, 2008
  4. Johannes SixtFeb 23, 2008
  5. Junio C HamanoFeb 23, 2008
  6. Junio C HamanoFeb 23, 2008
  7. Johannes SixtFeb 23, 2008
  8. Jeff KingFeb 23, 2008
  9. Junio C HamanoFeb 23, 2008
  10. Jeff KingFeb 23, 2008
  11. Junio C HamanoFeb 23, 2008
  12. Jeff KingFeb 23, 2008
  13. Junio C HamanoFeb 23, 2008
  14. Jeff KingFeb 23, 2008
  15. Junio C HamanoFeb 24, 2008
  16. Jeff KingFeb 24, 2008
  17. Jeff KingFeb 23, 2008
  18. Junio C HamanoFeb 23, 2008
  19. Jeff KingFeb 23, 2008
  20. Jeff KingFeb 23, 2008
  21. Junio C HamanoFeb 23, 2008
  22. Jeff KingFeb 23, 2008
  23. 3/3 diff: fix java funcname pattern for solarisJeff King, Feb 21, 2008
  24. Junio C HamanoFeb 21, 2008
  25. Jeff KingFeb 21, 2008
  26. Junio C HamanoFeb 22, 2008
  27. Junio C HamanoFeb 22, 2008
  28. Jeff KingFeb 22, 2008

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.