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?