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

[PATCH v3 0/3] bin-wrappers: test without dashed commands in PATH

From
MOMatthew Ogilvie <mmogilvi_git@miniinfo.net>
Date
Dec 3, 2009, 05:14 UTC
Message-ID
<1259817247-3724-1-git-send-email-mmogilvi_git@miniinfo.net>

This patch series allows running the test suite and/or running an uninstalled build without dashed commands in the PATH.

Changes since version 2:
   merged - The first 3 old patches (fixes to tests to avoid dashed
         commands, and added GIT_TEST_INSTALLED documentation) are
         now in master, so I am not duplicating them here.
   1/3 - Changed to use "@@BUILD_DIR@@" instead of "__GIT_EXEC_DIR__"
         for sed substitution, and to use single quotes around it
         when setting environment variables in wrap-for-bin.sh.
         But this patch still does not really try to handle
         strange characters in $(shell pwd); see earlier email
         thread about this.  (This is newer than pu.)
   2/3 - Fixed a couple of spelling errors in the --with-dashes
         documentation, and avoid "TOP".  (This is newer than pu.)
   3/3 - Replaced wording for running an uninstalled git.
         It now uses Junio's text: no change compared to his
         version of this patch that is currently in pu.
Matthew Ogilvie (3):
  build dashless "bin-wrappers" directory similar to installed bindir
  run test suite without dashed git-commands in PATH
  INSTALL: document a simpler way to run uninstalled builds
 .gitignore      |    1 +
 INSTALL         |   18 +++++++++++-------
 Makefile        |   49 ++++++++++++++++++++++++++++++++++++-------------
 t/README        |    9 +++++++++
 t/test-lib.sh   |   33 +++++++++++++++++++++------------
 wrap-for-bin.sh |   15 +++++++++++++++
 6 files changed, 93 insertions(+), 32 deletions(-)
 create mode 100644 wrap-for-bin.sh
Next: Matthew Ogilvie
Message 1 of 4 in “bin-wrappers: test without dashed commands in PATH”
  1. 0/3 bin-wrappers: test without dashed commands in PATHMatthew Ogilvie, Dec 3, 2009
  2. 1/3 build dashless "bin-wrappers" directory similar to installed bindirMatthew Ogilvie, Dec 3, 2009
  3. 2/3 run test suite without dashed git-commands in PATHMatthew Ogilvie, Dec 3, 2009
  4. 3/3 INSTALL: document a simpler way to run uninstalled buildsMatthew Ogilvie, Dec 3, 2009

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.