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

[PATCH 4/4] t7300: mark as leak-free

From
Rubén Justo <rjusto@gmail.com>
Date
Apr 6, 2024, 14:32 UTC
Message-ID
<7f759a5a-ae25-4f2b-a38e-4d0d786ca3bc@gmail.com>
In-Reply-To
<f4af1e88-5bd9-4b3c-8691-84dbf0ca3ee2@gmail.com>
Since the previous commit this test does not leak.

Mark it with TEST_PASSES_SANITIZE_LEAK=true so to make the leak checkers happy.

Signed-off-by: Rubén Justo <rjusto@gmail.com>
---
 t/t7300-clean.sh | 1 +
 1 file changed, 1 insertion(+)
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 1f7201eb60..0aae0dee67 100755
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
@@ -5,6 +5,7 @@
 
 test_description='git clean basic tests'
 
+TEST_PASSES_SANITIZE_LEAK=true
 . ./test-lib.sh
 
 git config clean.requireForce no
-- 
2.44.0.697.g9b33b46f29
Previous: Rubén JustoNext: Junio C Hamano
Message 5 of 9 in “fix a leak with excludes_file”
  1. 0/4 fix a leak with excludes_fileRubén Justo, Apr 6, 2024
  2. 1/4 path.c: introduce strbuf_interpolate_pathRubén Justo, Apr 6, 2024
  3. 2/4 config.c: introduce git_config_strbuf_pathnameRubén Justo, Apr 6, 2024
  4. 3/4 environment.c: convert excludes_file to struct strbufRubén Justo, Apr 6, 2024
  5. 4/4 t7300: mark as leak-freeRubén Justo, Apr 6, 2024
  6. Junio C HamanoApr 6, 2024
  7. Rubén JustoApr 7, 2024
  8. Junio C HamanoApr 8, 2024
  9. Rubén JustoApr 8, 2024

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.