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

Re: [PATCH v2 0/6] git-p4 tests, filetypes, shell metacharacters

From
Luke Diamand <luke@diamand.org>
Date
Oct 15, 2011, 20:00 UTC
Message-ID
<4E99E64C.9@diamand.org>
In-Reply-To
<20111015155358.GA29436@arf.padd.com>
On 15/10/11 16:53, Pete Wyckoff wrote:
Show 12 quoted lines
> This series of six patches has been reviewed on the mailing list
> and should be ready for inclusion.
>
> 1    - Clean up git-p4 tests, including Junio review comments
>
> 2..4 - Handle p4 filetypes better, including Chris's suggested
>         utf16 fix
>
> 5    - Fix p4 keyword parsing
>
> 6    - From Luke: avoid using the shell, so filenames with metacharacters
>         are not errantly expanded

I've just tried running the tests in parallel (master branch) and it works a treat.

You've also tidied up my earlier test cases very nicely.

There doesn't seem to be any way to cope with multiple instances of the same test running at the same time. If p4d could write its pid somewhere then something better could be done, but it doesn't.

Ack.

Thanks Luke

Show 22 quoted lines
>
> Luke Diamand (1):
>        git-p4: handle files with shell metacharacters
>
> Pete Wyckoff (5):
>        git-p4 tests: refactor and cleanup
>        git-p4: handle utf16 filetype properly
>        git-p4: recognize all p4 filetypes
>        git-p4: stop ignoring apple filetype
>        git-p4: keyword flattening fixes
>
>   contrib/fast-import/git-p4     |  287 +++++++++++++-------
>   t/lib-git-p4.sh                |   74 +++++
>   t/t9800-git-p4.sh              |  574 ++++++++++++++++++----------------------
>   t/t9801-git-p4-branch.sh       |  233 ++++++++++++++++
>   t/t9802-git-p4-filetype.sh     |  108 ++++++++
>   t/t9803-git-shell-metachars.sh |   64 +++++
>   6 files changed, 918 insertions(+), 422 deletions(-)
>   create mode 100644 t/lib-git-p4.sh
>   create mode 100755 t/t9801-git-p4-branch.sh
>   create mode 100755 t/t9802-git-p4-filetype.sh
>   create mode 100755 t/t9803-git-shell-metachars.sh
Previous: Pete Wyckoff
Message 13 of 13 in “git-p4 tests, filetypes, shell metacharacters”
  1. 0/6 git-p4 tests, filetypes, shell metacharactersPete Wyckoff, Oct 15, 2011
  2. 1/6 git-p4 tests: refactor and cleanupPete Wyckoff, Oct 15, 2011
  3. Stefano LattariniOct 16, 2011
  4. Stefano LattariniOct 16, 2011
  5. Pete WyckoffOct 16, 2011
  6. 2/6 git-p4: handle utf16 filetype properlyPete Wyckoff, Oct 15, 2011
  7. Stefano LattariniOct 16, 2011
  8. Pete WyckoffOct 16, 2011
  9. 3/6 git-p4: recognize all p4 filetypesPete Wyckoff, Oct 15, 2011
  10. 4/6 git-p4: stop ignoring apple filetypePete Wyckoff, Oct 15, 2011
  11. 5/6 git-p4: keyword flattening fixesPete Wyckoff, Oct 15, 2011
  12. 6/6 git-p4: handle files with shell metacharactersPete Wyckoff, Oct 15, 2011
  13. Luke DiamandOct 15, 2011

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.