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

Re: [PATCH 2/8] t/README: The trash is in 't/trash directory.$name'

From
Jeff King <peff@peff.net>
Date
Jul 1, 2010, 15:44 UTC
Message-ID
<20100701154429.GB15542@sigill.intra.peff.net>
In-Reply-To
<1277997004-29504-3-git-send-email-avarab@gmail.com>
On Thu, Jul 01, 2010 at 03:09:58PM +0000, Ævar Arnfjörð Bjarmason wrote:
Show 15 quoted lines
> diff --git a/t/README b/t/README
> index b378ab1..fd61ec7 100644
> --- a/t/README
> +++ b/t/README
> @@ -221,9 +221,10 @@ This test harness library does the following things:
>   - If the script is invoked with command line argument --help
>     (or -h), it shows the test_description and exits.
>  
> - - Creates an empty test directory with an empty .git/objects
> -   database and chdir(2) into it.  This directory is 't/trash directory'
> -   if you must know, but I do not think you care.
> + - Creates an empty test directory with an empty .git/objects database
> +   and chdir(2) into it.  This directory is 't/trash
> +   directory.$test_name_without_dotsh' if you must know, but I do not
> +   think you care.

You might want to mention the impact of "--root" here. I.e., it is actually "$root${root:+/}trash directory.$test_name_without_dotsh", and it is in t/ only if $root is not an absolute path.

-Peff
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 5 of 14 in “Improvements for t/README”
  1. 0/8 Improvements for t/READMEÆvar Arnfjörð Bjarmason, Jul 1, 2010
  2. 1/8 t/README: Tests are all +x, ./test, not sh ./testÆvar Arnfjörð Bjarmason, Jul 1, 2010
  3. Jeff KingJul 1, 2010
  4. 2/8 t/README: The trash is in 't/trash directory.$name'Ævar Arnfjörð Bjarmason, Jul 1, 2010
  5. Jeff KingJul 1, 2010
  6. 3/8 t/README: Typo: paralell -> parallelÆvar Arnfjörð Bjarmason, Jul 1, 2010
  7. 4/8 t/README: Document the prereq functions, and 3-arg test_*Ævar Arnfjörð Bjarmason, Jul 1, 2010
  8. Junio C HamanoJul 1, 2010
  9. 5/8 t/README: Document test_external*Ævar Arnfjörð Bjarmason, Jul 1, 2010
  10. Junio C HamanoJul 1, 2010
  11. 6/8 t/README: Document test_expect_codeÆvar Arnfjörð Bjarmason, Jul 1, 2010
  12. 7/8 t/README: Add a section about skipping testsÆvar Arnfjörð Bjarmason, Jul 1, 2010
  13. 8/8 t/README: Document the dangers of printing "ok" / "not ok"Ævar Arnfjörð Bjarmason, Jul 1, 2010
  14. Junio C HamanoJul 1, 2010

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.