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

[PATCH] t7063: fix breakage with split index

From
Thomas Gummerer <t.gummerer@gmail.com>
Date
Jun 5, 2015, 23:31 UTC
Message-ID
<1433547093-6616-1-git-send-email-t.gummerer@gmail.com>

When running the test suite with GIT_TEST_SPLIT_INDEX set, tests 17-18 in t7063 fail. Unset GIT_TEST_SPLIT_INDEX at the beginning of the test, in order to fix it.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
---
Hi,

This breakage is both in the current master and next. I'm not entirely sure this is the best way to solve the issue, but unfortunately I don't have any more time to look into this.

 t/t7063-status-untracked-cache.sh | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/t/t7063-status-untracked-cache.sh b/t/t7063-status-untracked-cache.sh
index bd4806c..2f958c7 100755
--- a/t/t7063-status-untracked-cache.sh
+++ b/t/t7063-status-untracked-cache.sh
@@ -8,6 +8,8 @@ avoid_racy() {
 	sleep 1
 }
 
+unset GIT_TEST_SPLIT_INDEX
+
 # It's fine if git update-index returns an error code other than one,
 # it'll be caught in the first test.
 test_lazy_prereq UNTRACKED_CACHE '
-- 
2.4.0.184.g8e1974e
Next: Junio C Hamano
Message 1 of 4 in “t7063: fix breakage with split index”
  1. t7063: fix breakage with split indexThomas Gummerer, Jun 5, 2015
  2. Junio C HamanoJun 7, 2015
  3. read-cache: fix untracked cache invalidation when split-index is usedNguyễn Thái Ngọc Duy, Jun 7, 2015
  4. Junio C HamanoJun 8, 2015

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.