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

Re: Hacks for AIX

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 16, 2008, 18:25 UTC
Message-ID
<7v3am9sn2p.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<5855afd30807161057v54ed4112jaea3bc07cebf44d4@mail.gmail.com>
"Chris Cowan" <chris.o.cowan@gmail.com> writes:
>     * /usr/bin/grep - behaves badly in t7002.   I believe it is test
> 12 and related to the -n -w -e combination of options.
Perhaps your version of AIX needs to...
    $ make NO_EXTERNAL_GREP=UnfortunatelyYesOnThisAIX
Show 5 quoted lines
>     * /usr/bin/diff - has problems with -u and -U.
>                          I saw the $GIT_CMP_TEST env var, but this is
> not used everywhere within the test scripts above.
> In some cases, the tests could have been made more portable by using a
> plain "diff" rather than "diff -u", for example.

A patch to the testsuite to replace use of "diff" and "diff -u" that test the actual output matches expected output with "test_cmp" would be appreciated.

>     * /usr/bin/patch - really old version, doesn't do well with some
> diff formats.   I avoid using it.

t4109 seems to use patch to produce expected output for the tests; we should ship a precomputed expected results. Do you know of any other places "patch" is used?

Previous: Chris CowanNext: Brandon Casey
Message 2 of 7 in “Hacks for AIX”
  1. Chris CowanJul 16, 2008
  2. Junio C HamanoJul 16, 2008
  3. Brandon CaseyJul 18, 2008
  4. Junio C HamanoJul 20, 2008
  5. Brandon CaseyJul 21, 2008
  6. Brandon CaseyJul 22, 2008
  7. Linus TorvaldsJul 16, 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.