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

Re: [RFC/PATCH] Use compatibility regex library for OSX/Darwin

From
BGBoyd Lynn Gerber <gerberb@zenez.com>
Date
Sep 17, 2008, 00:10 UTC
Message-ID
<alpine.LNX.1.10.0809161808011.17105@suse104.zenez.com>
In-Reply-To
<20080916234624.GA14405@coredump.intra.peff.net>
On Tue, 16 Sep 2008, Jeff King wrote:
Show 12 quoted lines
> On Tue, Sep 16, 2008 at 05:42:11PM -0600, Boyd Lynn Gerber wrote:
>> When I do a gmake test these 4 platforms all fail only these 2 tests.
>> * FAIL 10: reinit
>> [...]
>> * FAIL 11: init with --template
>> [...]
>> gmake[1]: *** [t0001-init.sh] Error 1
>>
>  1. Run t0001 in verbose mode and report the results so we can get a
>     better idea of what's failing:
>
>       gmake test GIT_TEST_OPTS=--verbose
* expecting success:
         (
                 unset GIT_CONFIG GIT_WORK_TREE GIT_CONFIG
                 mkdir again &&
                 cd again &&
                 git init >out1 2>err1 &&
                 git init >out2 2>err2
         ) &&
         grep "Initialized empty" again/out1 &&
         grep "Reinitialized existing" again/out2 &&
         >again/empty &&
         test_cmp again/empty again/err1 &&
         test_cmp again/empty again/err2
Initialized empty Git repository in 
/home/zenez/build/osr6/git-1.6.0.2/t/trash directory/again/.git/
Reinitialized existing Git repository in 
/home/zenez/build/osr6/git-1.6.0.2/t/trash directory/again/.git/
diff: ERROR: Illegal option -- u
Usage: diff [ -bcefhrC<n> ] file1 file2
* FAIL 10: reinit
                 (
                         unset GIT_CONFIG GIT_WORK_TREE GIT_CONFIG
                         mkdir again &&
                         cd again &&
                         git init >out1 2>err1 &&
                         git init >out2 2>err2
                 ) &&
                 grep "Initialized empty" again/out1 &&
                 grep "Reinitialized existing" again/out2 &&
                 >again/empty &&
                 test_cmp again/empty again/err1 &&
                 test_cmp again/empty again/err2
* expecting success:
         mkdir template-source &&
         echo content >template-source/file &&
         (
                 mkdir template-custom &&
                 cd template-custom &&
                 git init --template=../template-source
         ) &&
         test_cmp template-source/file template-custom/.git/file
Initialized empty Git repository in 
/home/zenez/build/osr6/git-1.6.0.2/t/trash directory/template-custom/.git/
diff: ERROR: Illegal option -- u
Usage: diff [ -bcefhrC<n> ] file1 file2
* FAIL 11: init with --template
                 mkdir template-source &&
                 echo content >template-source/file &&
                 (
                         mkdir template-custom &&
                         cd template-custom &&
                         git init --template=../template-source
                 ) &&
                 test_cmp template-source/file template-custom/.git/file
* expecting success:
         (
                 mkdir template-plain &&
                 cd template-plain &&
                 git init
         ) &&
         test -f template-plain/.git/info/exclude &&
         (
                 mkdir template-blank &&
                 cd template-blank &&
                 git init --template=
         ) &&
         ! test -f template-blank/.git/info/exclude

Initialized empty Git repository in /home/zenez/build/osr6/git-1.6.0.2/t/trash directory/template-plain/.git/ Initialized empty Git repository in /home/zenez/build/osr6/git-1.6.0.2/t/trash directory/template-blank/.git/

>  2. Run t4018 individually and report on the results:
>
>       cd t && gmake t4018-diff-funcname.sh
3 systems all give me this.

$ cd t && gmake t4018-diff-funcname.sh *** t4018-diff-funcname.sh *** t4018-diff-funcname.sh: syntax error at line 52: `(' unexpected gmake: *** [t4018-diff-funcname.sh] Error 2

-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Previous: Jeff KingNext: Brandon Casey
Message 35 of 44 in “Use compatibility regex library for OSX/Darwin”
  1. Use compatibility regex library for OSX/DarwinArjen Laarhoven, Sep 7, 2008
  2. Mike RalphsonSep 10, 2008
  3. Johannes SixtSep 10, 2008
  4. Arjen LaarhovenSep 10, 2008
  5. Mike RalphsonSep 10, 2008
  6. Mike RalphsonSep 11, 2008
  7. Use compatibility regex library also on AIXJohannes Sixt, Sep 11, 2008
  8. Arjen LaarhovenSep 11, 2008
  9. Mike RalphsonSep 11, 2008
  10. Jeff KingSep 11, 2008
  11. Junio C HamanoSep 11, 2008
  12. Brandon CaseySep 16, 2008
  13. Junio C HamanoSep 16, 2008
  14. 1/4 diff.c: return pattern entry pointer rather than just the hunk header patternBrandon Casey, Sep 18, 2008
  15. 2/4 diff.c: associate a flag with each pattern and use it for compiling regexBrandon Casey, Sep 18, 2008
  16. Junio C HamanoSep 18, 2008
  17. Andreas EricssonSep 18, 2008
  18. Junio C HamanoSep 18, 2008
  19. Andreas EricssonSep 18, 2008
  20. Junio C HamanoSep 18, 2008
  21. 3/4 diff.*.xfuncname which uses "extended" regex's for hunk header selectionBrandon Casey, Sep 18, 2008
  22. 4/4 diff.c: convert builtin funcname patterns to extended regular expressionsBrandon Casey, Sep 18, 2008
  23. 4/4 diff.c: convert builtin funcname patterns to extended regular expressionsBrandon Casey, Sep 18, 2008
  24. Andreas EricssonSep 18, 2008
  25. Junio C HamanoSep 18, 2008
  26. Johan HerlandSep 18, 2008
  27. Gustaf HendebySep 18, 2008
  28. Jonathan del StrotherSep 18, 2008
  29. Brandon CaseySep 18, 2008
  30. Jeff KingSep 16, 2008
  31. Boyd Lynn GerberSep 16, 2008
  32. Jeff KingSep 16, 2008
  33. Boyd Lynn GerberSep 16, 2008
  34. Jeff KingSep 16, 2008
  35. Boyd Lynn GerberSep 17, 2008
  36. Brandon CaseySep 17, 2008
  37. Boyd Lynn GerberSep 17, 2008
  38. Brandon CaseySep 17, 2008
  39. Boyd Lynn GerberSep 17, 2008
  40. Brandon CaseySep 17, 2008
  41. Boyd Lynn GerberSep 17, 2008
  42. Brandon CaseySep 17, 2008
  43. Boyd Lynn GerberSep 17, 2008
  44. Brandon CaseySep 19, 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.