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

Re: [PATCH] Documentation: running test with --debug keeps "trash" directory

From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Date
Mar 15, 2011, 19:58 UTC
Message-ID
<4D7FC4D6.9010100@gmail.com>
In-Reply-To
<7vy64hbd6c.fsf@alter.siamese.dyndns.org>
W dniu 14.03.2011 22:32, Junio C Hamano pisze:
Show 24 quoted lines
> Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
> 
>> Signed-off-by: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
>> ---
>>  t/README |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> It wasn't documented and I didn't notice it at first and found
>> it out only after I've started implementing --keep-trash option.
>>
>> diff --git a/t/README b/t/README
>> index 78c9e65..5db567e 100644
>> --- a/t/README
>> +++ b/t/README
>> @@ -79,6 +79,9 @@ appropriately before running "make".
>>  --debug::
>>  	This may help the person who is developing a new test.
>>  	It causes the command defined with test_debug to run.
>> +	The "trash" directory (used to store all temporary data
>> +	during testing) is not deleted even if there are no
>> +	failed tests.
> 
> missing is "...so that you can inspect its contents after the test
> finished." at the end.

If you think it's needed here's a patch. I'm not sure - maybe it should be "after the test finishe_s_"? I'm not native English speaker though...

---8<---
From: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Date: Mon, 14 Mar 2011 18:50:47 +0100
Subject: [PATCH] Documentation: running test with --debug keeps "trash" directory
Signed-off-by: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
---
 t/README |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/t/README b/t/README
index 78c9e65..165e7cf 100644
--- a/t/README
+++ b/t/README
@@ -79,6 +79,10 @@ appropriately before running "make".
 --debug::
 	This may help the person who is developing a new test.
 	It causes the command defined with test_debug to run.
+	The "trash" directory (used to store all temporary data
+	during testing) is not deleted even if there are no
+	failed tests so that you can inspect its contents after
+	the test finished.
 
 --immediate::
 	This causes the test to immediately exit upon the first
-- 
1.7.4.1.228.g9e388


-- 
Piotr Krukowiecki
Previous: Junio C Hamano
Message 3 of 3 in “Documentation: running test with --debug keeps "trash" directory”
  1. Documentation: running test with --debug keeps "trash" directoryPiotr Krukowiecki, Mar 14, 2011
  2. Junio C HamanoMar 14, 2011
  3. Piotr KrukowieckiMar 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.