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

[PATCHv1] git-p4: test harness directory handling tidyup

From
Luke Diamand <luke@diamand.org>
Date
May 12, 2011, 05:14 UTC
Message-ID
<1305177299-27130-1-git-send-email-luke@diamand.org>

Junio pointed out that the git-p4 test harness (t9800-git-p4.sh) has tests that 'cd' into a directory, do stuff, and then cd back out. If the tests fail partway through then the process is left in the wrong directory for the next test.

This patch changes it to use the "(cd dir && do_test)" pattern instead.
Luke Diamand (1):
  git-p4: test harness directory changing tidyup
 t/t9800-git-p4.sh |   37 ++++++++++++++++++++++---------------
 1 files changed, 22 insertions(+), 15 deletions(-)
Next: Luke Diamand
Message 1 of 3 in “[PATCHv1] git-p4: test harness directory handling tidyup”
  1. Luke DiamandMay 12, 2011
  2. Luke DiamandMay 12, 2011
  3. Pete WyckoffMay 12, 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.